diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index c97041d3..b1c12898 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -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 }