Skip to content

Commit

Permalink
depends: allow CC/CXX to be overridden during configure
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni committed Aug 23, 2018
1 parent 271b379 commit 0d00fd5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions depends/config.site.in
Expand Up @@ -61,9 +61,12 @@ fi
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
LDFLAGS="-L$depends_prefix/lib $LDFLAGS"

CC="@CC@"
CXX="@CXX@"
OBJC="${CC}"
if test -n "@CC@" -a -z "${CC}"; then
CC="@CC@"
fi
if test -n "@CXX@" -a -z "${CXX}"; then
CXX="@CXX@"
fi
PYTHONPATH=$depends_prefix/native/lib/python/dist-packages:$PYTHONPATH

if test -n "@AR@"; then
Expand Down

0 comments on commit 0d00fd5

Please sign in to comment.