From: Matthias Klose Date: Tue, 24 Feb 2009 11:06:11 +0000 (+0000) Subject: - Link the shared python library with $(MODLIBS). X-Git-Tag: 3.0~365 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4f8425701a9f1e07651b1bfe19f852c07783be5;p=thirdparty%2FPython%2Fcpython.git - Link the shared python library with $(MODLIBS). --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 4485a81d1521..701341aa5c25 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -410,10 +410,10 @@ $(LIBRARY): $(LIBRARY_OBJS) libpython$(VERSION).so: $(LIBRARY_OBJS) if test $(INSTSONAME) != $(LDLIBRARY); then \ - $(LDSHARED) $(LDFLAGS) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \ + $(LDSHARED) $(LDFLAGS) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \ $(LN) -f $(INSTSONAME) $@; \ else \ - $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \ + $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \ fi libpython$(VERSION).dylib: $(LIBRARY_OBJS) @@ -421,7 +421,7 @@ libpython$(VERSION).dylib: $(LIBRARY_OBJS) libpython$(VERSION).sl: $(LIBRARY_OBJS) - $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST) + $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST) # This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary # minimal framework (not including the Lib directory and such) in the current diff --git a/Misc/NEWS b/Misc/NEWS index 764797b39f1b..08334ef2bed5 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -22,6 +22,11 @@ Core and Builtins Library ------- +Build +----- + +- Link the shared python library with $(MODLIBS). + What's New in Python 3.0.1? ===========================