mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Restored has_broken_mac_llvm_gcc
which is required to build 3.3+ on Darwin
This commit is contained in:
parent
fe07deb193
commit
db141f66a4
1 changed files with 5 additions and 0 deletions
|
@ -1054,6 +1054,11 @@ isolated_gem_install() {
|
||||||
gem install "$@"
|
gem install "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
has_broken_mac_llvm_gcc() {
|
||||||
|
[ "$(uname -s)" = "Darwin" ] &&
|
||||||
|
[[ "$(gcc --version 2>/dev/null || true)" == *"llvm-gcc-4.2"* ]]
|
||||||
|
}
|
||||||
|
|
||||||
build_package_verify_python() {
|
build_package_verify_python() {
|
||||||
# Check the existence of ./bin since pyenv-which searches the executables from there
|
# Check the existence of ./bin since pyenv-which searches the executables from there
|
||||||
if [ ! -d "${PREFIX_PATH}/bin" ]; then
|
if [ ! -d "${PREFIX_PATH}/bin" ]; then
|
||||||
|
|
Loading…
Reference in a new issue