mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-09 12:03:49 -05:00
ldflags_dirs is not needed for Python and causes failures
Ensuring that all dirs in LDFLAGS exist is only needed for Ruby due to its `configure` requirements. If some LDFLAGS entries point to a nonexisting path to which the user doesn't have permission. this causes a build failure.
This commit is contained in:
@@ -1516,21 +1516,6 @@ use_xcode_sdk_zlib() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Ensure that directories listed in LDFLAGS exist
|
||||
build_package_ldflags_dirs() {
|
||||
local arg dir
|
||||
set - $LDFLAGS
|
||||
while [ $# -gt 0 ]; do
|
||||
dir=""
|
||||
case "$1" in
|
||||
-L ) dir="$2" ;;
|
||||
-L* ) dir="${1#-L}" ;;
|
||||
esac
|
||||
[ -z "$dir" ] || mkdir -p "$dir"
|
||||
shift 1
|
||||
done
|
||||
}
|
||||
|
||||
build_package_enable_shared() {
|
||||
package_option python configure --enable-shared
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user