summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Makefile.pre.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index 2d81409..2bf081a 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -25,6 +25,7 @@ AR= @AR@
OPT= @OPT@
LDFLAGS= @LDFLAGS@
+LDLAST= @LDLAST@
DEFS= @DEFS@
LIBS= @LIBS@
@@ -126,7 +127,7 @@ $(LIB): $& $(OBJS) Makefile
$(CC) -c $(CFLAGS) -DBUILD=`cat buildno` $(srcdir)/getbuildinfo.c
$(AR) r $(LIB) getbuildinfo.o
$(LINKCC) $(LDFLAGS) $(OPT) $(LINKFORSHARED) $(ADDOBJS) \
- $(MYLIBS) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python
+ $(MYLIBS) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST)
mv python ../python
buildno: