]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
- Link the shared python library with $(MODLIBS).
authorMatthias Klose <doko@ubuntu.com>
Tue, 24 Feb 2009 11:06:11 +0000 (11:06 +0000)
committerMatthias Klose <doko@ubuntu.com>
Tue, 24 Feb 2009 11:06:11 +0000 (11:06 +0000)
Makefile.pre.in
Misc/NEWS

index 4485a81d15213cba92c62563f836dac593a55ac4..701341aa5c25b311f43cab8f4a32f2b886204500 100644 (file)
@@ -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
index 764797b39f1b1c975fa00b73cf45de04ac61edf8..08334ef2bed5eed166a5b12ccc626ee2dc6d42ec 100644 (file)
--- 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?
 ===========================