MacOSX: fix OpenSSL check in build-package.in
OpenSSL is configured to be installed in $PREFIX so the files should be checked in $BUILDPATH/openssl_bin/$PREFIX/lib/pkgconfig and not $BUILDPATH/openssl_bin/lib/pkgconfig
This commit is contained in:
parent
426f266dfa
commit
0f69949bbf
|
@ -23,7 +23,7 @@ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig
|
|||
|
||||
if ! pkg-config libcrypto --atleast-version=1.0.1; then
|
||||
# OpenSSL is not installed
|
||||
if ! test -e $BUILDPATH/openssl_bin/lib/pkgconfig; then
|
||||
if ! test -e $BUILDPATH/openssl_bin/$PREFIX/lib/pkgconfig; then
|
||||
# Build OpenSSL manually, because Apple's binaries are deprecated
|
||||
if ! test -e openssl; then
|
||||
git clone --depth=1 https://github.com/openssl/openssl.git -b OpenSSL_1_0_2-stable
|
||||
|
|
Loading…
Reference in New Issue