From 38d3fe012e76e1807133db9d02ea8fc087c625d6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 11 Mar 1998 17:49:55 +0000 Subject: Add LINKFORSHARED and LDLAST as in the main Makefile. --- Misc/Makefile.pre.in | 6 ++++-- 1 file 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 \ -- cgit v0.12