diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-04-05 09:06:26 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-04-05 09:06:26 +0000 |
| commit | 697291b66c481c617cf9875497e2189bc4a4b096 (patch) | |
| tree | 5c98c370bedd1d0b4cc456b94e1f7a8ceb080bff /acx_python.m4 | |
| parent | afb79913ce00d885b8b43f7478e1e054edadb567 (diff) | |
Notes
Diffstat (limited to 'acx_python.m4')
| -rw-r--r-- | acx_python.m4 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/acx_python.m4 b/acx_python.m4 index 6fa925af1684..99ffa254a8e4 100644 --- a/acx_python.m4 +++ b/acx_python.m4 @@ -164,8 +164,11 @@ $ac_distutils_result]) AC_MSG_CHECKING([consistency of all components of python development environment]) AC_LANG_PUSH([C]) # save current global flags - LIBS="$ac_save_LIBS $PYTHON_LDFLAGS" - CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS" + ac_save_LIBS="$LIBS" + ac_save_CPPFLAGS="$CPPFLAGS" + + LIBS="$LIBS $PYTHON_LDFLAGS" + CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS" AC_TRY_LINK([ #include <Python.h> ],[ |
