mirror of
https://github.com/pyenv/pyenv.git
synced 2025-01-22 23:22:13 +00:00
use environment variable "${CPP}" if defined
This commit is contained in:
parent
27dd805acb
commit
ff387010b3
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ has_broken_mac_readline() {
|
|||
local conftest="$BUILD_PATH/has_broken_mac_readline.h"
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
echo "#include <readline/rlconf.h>" > "$conftest"
|
||||
cpp $CFLAGS $CPPFLAGS $LDFLAGS "$conftest" 1>/dev/null 2>&1 || retval=0
|
||||
"${CPP:-cpp}" $CFLAGS $CPPFLAGS $LDFLAGS "$conftest" 1>/dev/null 2>&1 || retval=0
|
||||
rm -f "$conftest"
|
||||
fi
|
||||
return "$retval"
|
||||
|
|
Loading…
Reference in a new issue