summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-19 21:59:32 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-19 21:59:32 (GMT)
commit07b983da99d908812e9355379eeca0b5fbd8c07c (patch)
treeb6419ab085596b4346b06424c3687c0535355d96 /Modules
parent84e7b248f0a8863e7ef5fc8ad7efe297f5090873 (diff)
downloadcpython-07b983da99d908812e9355379eeca0b5fbd8c07c.zip
cpython-07b983da99d908812e9355379eeca0b5fbd8c07c.tar.gz
cpython-07b983da99d908812e9355379eeca0b5fbd8c07c.tar.bz2
Incorporate LDFLAGS calculated by configure (for --with-readline)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Makefile.pre.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index fc9bf3f..0010d4e 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -24,6 +24,7 @@ RANLIB= @RANLIB@
AR= @AR@
OPT= @OPT@
+LDFLAGS= @LDFLAGS@
DEFS= @DEFS@
LIBS= @LIBS@
@@ -107,7 +108,7 @@ all: $(LIB) ../python sharedmods
asharedmodule: $(ASHAREDMODULE)$(SO)
$(ASHAREDMODULE)$(SO): $(ASHAREDMODULESOBS)
- $(LDSHARED) -o $(ASHAREDMODULE)$(SO) $(ASHAREDMODULESOBS) \
+ $(LDSHARED) $(LDFLAGS) -o $(ASHAREDMODULE)$(SO) $(ASHAREDMODULESOBS) \
$(ASHAREDMODULESEXTRA)
$(LIB): $& $(OBJS) Makefile
@@ -116,7 +117,7 @@ $(LIB): $& $(OBJS) Makefile
$(RANLIB) $(LIB)
../python: $(MYLIBS) $(ADDOBJS) Makefile
- $(LINKCC) $(OPT) $(LINKFORSHARED) $(ADDOBJS) \
+ $(LINKCC) $(LDFLAGS) $(OPT) $(LINKFORSHARED) $(ADDOBJS) \
$(MYLIBS) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python
mv python ../python