Ports: Add /usr/local/lib to openssl's library search path

This allows building with the clang toolchain. We might consider a more
global patch in the future for this, it seems a lot of packages need
help to find /usr/local/lib.
This commit is contained in:
Andrew Kaster 2022-01-08 05:43:37 -07:00 committed by Linus Groh
parent 0a04f4ae86
commit b85c785c12

View file

@ -11,6 +11,7 @@ depends=("zlib")
configopts=("--prefix=/usr/local" "-DOPENSSL_SYS_SERENITY=1" "-DOPENSSL_USE_IPV6=0" "zlib" "threads" "no-tests" "no-asm" "serenity-generic")
configure() {
export LDFLAGS="-L${SERENITY_INSTALL_ROOT}/usr/local/lib"
run ./"$configscript" "${configopts[@]}"
}