1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-08 11:33:49 -05:00

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

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
}