summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2018-02-13 16:47:26 +0000
committerLeif Lindholm <leif.lindholm@linaro.org>2018-02-13 16:47:26 +0000
commit6f2c63c7638ed4ae097c19d7e2ccda6ac53f16c6 (patch)
tree87b16d0737a9e9ea983ce2452309f71ec0f69c24
parenta7f81e2144333033d18f28f0bedd373158d75ce9 (diff)
common-functions: add more handling for openssl import changes
Look also for openssl/include/openssl/opensslconf.h.in to determine whether openssl has already been imported. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r--common-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/common-functions b/common-functions
index f504297..aecb669 100644
--- a/common-functions
+++ b/common-functions
@@ -154,7 +154,8 @@ function download_patch_openssl
function clone_process_openssl
{
- if [ -e openssl/include/openssl/opensslconf.h ]; then
+ if [ -e openssl/include/openssl/opensslconf.h -o \
+ -e openssl/include/openssl/opensslconf.h.in ]; then
echo "OpenSSL already imported!"
return 0
fi