depends: allow CC/CXX to be overridden during configure
This commit is contained in:
parent
271b379e63
commit
0d00fd5901
1 changed files with 6 additions and 3 deletions
|
@ -61,9 +61,12 @@ fi
|
||||||
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
|
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
|
||||||
LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
|
LDFLAGS="-L$depends_prefix/lib $LDFLAGS"
|
||||||
|
|
||||||
|
if test -n "@CC@" -a -z "${CC}"; then
|
||||||
CC="@CC@"
|
CC="@CC@"
|
||||||
|
fi
|
||||||
|
if test -n "@CXX@" -a -z "${CXX}"; then
|
||||||
CXX="@CXX@"
|
CXX="@CXX@"
|
||||||
OBJC="${CC}"
|
fi
|
||||||
PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH
|
PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH
|
||||||
|
|
||||||
if test -n "@AR@"; then
|
if test -n "@AR@"; then
|
||||||
|
|
Loading…
Reference in a new issue