diff --git a/MacOSX/build-package.in b/MacOSX/build-package.in index 16ffe2a3fe..dfde05dcf2 100755 --- a/MacOSX/build-package.in +++ b/MacOSX/build-package.in @@ -24,7 +24,7 @@ export SED=/usr/bin/sed PREFIX=/Library/OpenSC export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig -if test "$FORCE_OPENSSL_BUILD" == "1" || ! pkg-config libcrypto --atleast-version=1.0.1; then +if test "$FORCE_OPENSSL_BUILD" == "1" || ! pkg-config libcrypto --atleast-version=1.1.1; then # OpenSSL is not installed if ! test -e $BUILDPATH/openssl_bin/$PREFIX/lib/pkgconfig; then # Build OpenSSL manually, because Apple's binaries are deprecated diff --git a/configure.ac b/configure.ac index 0a90445b9e..d7cac8a3a7 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,7 @@ define([VS_FF_PRODUCT_URL], [https://github.com/OpenSC/OpenSC]) m4_sinclude(m4/version.m4.ci) +# Hint: MacOSX/build-package.in contains minimum OpenSSL reference m4_define([openssl_minimum_version], [1.1.1]) AC_INIT([PRODUCT_NAME],[PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX[]PACKAGE_SUFFIX],[PRODUCT_BUGREPORT],[PRODUCT_TARNAME],[PRODUCT_URL])