1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

Pass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS)

This commit is contained in:
Tim Potter
-
parent 5e955b5fcc
commit 8e4bb2f8a0

View 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
+
+