1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-10 04:23:47 -05:00

Append Homebrew custom prefix to search path (#1957)

This is needed to find other Python deps (e.g. libintl) in Homebrew if it has
nonstandard prefix (e.g. in Apple M1)

* Re-allow to search Homebrew for zlib everywhere
This commit is contained in:
native-api
2021-10-26 04:36:01 +03:00
committed by GitHub
parent c0d8b9cfe8
commit 4b82f575c7
3 changed files with 59 additions and 21 deletions

View File

@@ -314,7 +314,7 @@ EOS
@test "enable custom unicode configuration" {
cached_tarball "Python-3.6.2"
for i in {1..2}; do stub brew '* : false'; done
for i in {1..4}; do stub brew false; done
for i in {1..3}; do stub uname '-s : echo Linux'; done
stub "$MAKE" \
" : echo \"$MAKE \$@\" >> build.log" \