Change order of LDFLAGS paths (#1754)

This commit is contained in:
tillhainbach 2020-12-11 01:46:40 +01:00 committed by GitHub
parent 7307b185d2
commit 9052491a05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1494,7 +1494,7 @@ use_xcode_sdk_zlib() {
echo "python-build: use zlib from xcode sdk"
export CFLAGS="-I${xc_sdk_path}/usr/include ${CFLAGS}"
if is_mac -ge 1100; then
export LDFLAGS="-L${xc_sdk_path}/usr/lib ${LDFLAGS}"
export LDFLAGS="${LDFLAGS} -L${xc_sdk_path}/usr/lib"
fi
fi
}