[build,mac] prefer self compiled dependencies

when building OpenSSL prefer dependencies from our self compiled
installation directory
This commit is contained in:
akallabeth 2024-03-04 16:39:07 +01:00 committed by akallabeth
parent d590b67ac4
commit 4139e55a78

View File

@ -94,7 +94,7 @@ replace_rpath() {
}
CMAKE_ARCHS=
OSSL_FLAGS="-mmacosx-version-min=$DEPLOYMENT_TARGET"
OSSL_FLAGS="-mmacosx-version-min=$DEPLOYMENT_TARGET -I$INSTALL/include -L$INSTALL/lib"
for ARCH in $DEPLOYMENT_ARCH;
do
OSSL_FLAGS="$OSSL_FLAGS -arch $ARCH"