瀏覽代碼

use environment variable "${CPP}" if defined

pull/37/head
Yamashita Yuu 13 年之前
父節點
當前提交
ff387010b3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      plugins/python-build/bin/python-build

+ 1
- 1
plugins/python-build/bin/python-build 查看文件

@ -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…
取消
儲存