diff options
author | Masamichi Hosoda <trueroad@sea.plala.or.jp> | 2015-04-21 20:11:40 +0100 |
---|---|---|
committer | James Lowe <pkx166h@gmail.com> | 2015-04-21 20:12:13 +0100 |
commit | 2eb22fd223cd56a2dd90eda1499dadbcbfa5fad5 (patch) | |
tree | d67fdc6c39ef370dd2caf25312be9706045b28ba /python | |
parent | e0af94bb8939bc6f4998db6294010baa77139092 (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/GNUmakefile | 3 |
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= |