summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-03-11 17:49:55 (GMT)
committerGuido van Rossum <guido@python.org>1998-03-11 17:49:55 (GMT)
commit38d3fe012e76e1807133db9d02ea8fc087c625d6 (patch)
treeee9f8d335a13bee62e6c0f497c4b7739a7d8638c
parent4912beb9d8a57608b7b81e45a349a1f288c22c3e (diff)
downloadcpython-38d3fe012e76e1807133db9d02ea8fc087c625d6.zip
cpython-38d3fe012e76e1807133db9d02ea8fc087c625d6.tar.gz
cpython-38d3fe012e76e1807133db9d02ea8fc087c625d6.tar.bz2
Add LINKFORSHARED and LDLAST as in the main Makefile.
-rw-r--r--Misc/Makefile.pre.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Misc/Makefile.pre.in b/Misc/Makefile.pre.in
index b38a95d..cf11445 100644
--- a/Misc/Makefile.pre.in
+++ b/Misc/Makefile.pre.in
@@ -117,6 +117,7 @@ LINKCC= @LINKCC@
SGI_ABI= @SGI_ABI@
OPT= @OPT@
LDFLAGS= @LDFLAGS@
+LDLAST= @LDLAST@
DEFS= @DEFS@
LIBS= @LIBS@
LIBM= @LIBM@
@@ -190,9 +191,10 @@ sharedmods: $(SHAREDMODS)
# Build a static Python binary containing our extension modules
static: $(TARGET)
$(TARGET): $(ADDOBJS) lib.a $(PYTHONLIBS) Makefile $(BASELIB)
- $(CC) $(LDFLAGS) $(ADDOBJS) lib.a $(PYTHONLIBS) \
+ $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) \
+ $(ADDOBJS) lib.a $(PYTHONLIBS) \
$(LINKPATH) $(BASELIB) $(MODLIBS) $(LIBS) $(SYSLIBS) \
- -o $(TARGET)
+ -o $(TARGET) $(LDLAST)
install: sharedmods
if test ! -d $(DESTSHARED) ; then \