]> granicus.if.org Git - yasm/commitdiff
python-yasm/Makefile.inc: Pull in CPPFLAGS for Python build, which on some
authorPeter Johnson <peter@tortall.net>
Sat, 30 Dec 2006 05:44:20 +0000 (05:44 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 30 Dec 2006 05:44:20 +0000 (05:44 -0000)
systems can have important include directories that aren't in INCLUDES.

svn path=/trunk/yasm/; revision=1726

tools/python-yasm/Makefile.inc

index 43bca45ae215d1243eb30cc5693d1ad9007d2702..b367f22606ee283e714768222d997b3460d5f543 100644 (file)
@@ -23,7 +23,7 @@ CLEANFILES += yasm_python.c
 
 # Now the Python build magic...
 python-setup.txt: Makefile
-       echo "includes=${DEFAULT_INCLUDES} ${INCLUDES} ${DEFS}" > python-setup.txt
+       echo "includes=${DEFS} ${DEFAULT_INCLUDES} ${INCLUDES} ${AM_CPPFLAGS} ${CPPFLAGS}" > python-setup.txt
        echo "sources=${libyasm_a_SOURCES}" >> python-setup.txt
        echo "srcdir=${srcdir}" >> python-setup.txt
        echo "gcc=${GCC}" >> python-setup.txt