summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMasamichi Hosoda <trueroad@sea.plala.or.jp>2015-04-21 20:11:40 +0100
committerJames Lowe <pkx166h@gmail.com>2015-04-21 20:12:13 +0100
commit2eb22fd223cd56a2dd90eda1499dadbcbfa5fad5 (patch)
treed67fdc6c39ef370dd2caf25312be9706045b28ba /python
parente0af94bb8939bc6f4998db6294010baa77139092 (diff)
Set CFLAGS and LDFLAGS to build python modules
Issue 4347 Set CFLAGS and LDFLAGS to build python modules cygwin and mingw need LDFLAGS for building python modules
Diffstat (limited to 'python')
-rw-r--r--python/GNUmakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/GNUmakefile b/python/GNUmakefile
index 87fa766089..19af006386 100644
--- a/python/GNUmakefile
+++ b/python/GNUmakefile
@@ -6,7 +6,8 @@ STEPMAKE_TEMPLATES=c python-module install-out po
include $(depth)/make/stepmake.make
-CFLAGS += -DPy_BUILD_CORE -Wall
+CFLAGS += -DPy_BUILD_CORE -Wall $(PYTHON_CFLAGS)
+LDFLAGS += $(PYTHON_LIBS)
# unset al guile stuff from configure
CONFIG_LDFLAGS=