1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-09 20:13:47 -05:00

Revert "use $ORIGIN for rpath so the built python can be copied"

This commit is contained in:
Yamashita, Yuu
2017-01-28 20:21:25 +09:00
committed by GitHub
parent 99b510859d
commit afbd54dd13
2 changed files with 3 additions and 3 deletions

View File

@@ -1911,7 +1911,7 @@ package_option python configure --libdir="${PREFIX_PATH}/lib"
if [[ "$CONFIGURE_OPTS" == *"--enable-shared"* ]] || [[ "$PYTHON_CONFIGURE_OPTS" == *"--enable-shared"* ]]; then
# The ld on Darwin embeds the full paths to each dylib by default
if [[ "$LDFLAGS" != *"-rpath="* ]] && ! is_mac; then
export LDFLAGS="-Wl,-rpath='\$\$ORIGIN/../lib' ${LDFLAGS}"
export LDFLAGS="-Wl,-rpath=${PREFIX_PATH}/lib ${LDFLAGS}"
fi
fi