Pass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS)
authorTim Potter <tpot@samba.org>
Wed, 20 Mar 2002 04:58:38 +0000 (04:58 +0000)
committerTim Potter <tpot@samba.org>
Wed, 20 Mar 2002 04:58:38 +0000 (04:58 +0000)
(This used to be commit 8e4bb2f8a05b37ba508eefe0d0d3f4db103a4418)

source3/python/samba-head.patch

index 53721892a498a78e27d33c08afeed446265fe5b2..6c4a8ee74c61d7bf32427bc81885a9876a020066 100644 (file)
@@ -32,7 +32,7 @@ diff -u -r1.458 Makefile.in
 +
 +python_ext: $(PYTHON_OBJS)
 +      @echo python python/setup.py build
-+      @PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(FLAGS)" \
++      @PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
 +              python python/setup.py build
 +
 +