diff options
author | Matthias Klose <doko@ubuntu.com> | 2009-02-22 23:14:26 (GMT) |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2009-02-22 23:14:26 (GMT) |
commit | 8ad554fdbea689581f97774acc77e5c15bcac15a (patch) | |
tree | c259737aeeb629defa3f5576acedcd27da6e343b /Makefile.pre.in | |
parent | 7b47172becab3eb73cc6836331c3e687fa1df446 (diff) | |
download | cpython-8ad554fdbea689581f97774acc77e5c15bcac15a.zip cpython-8ad554fdbea689581f97774acc77e5c15bcac15a.tar.gz cpython-8ad554fdbea689581f97774acc77e5c15bcac15a.tar.bz2 |
- Link the shared python library with $(MODLIBS).
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 16c3df4..1c2d1f0 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -411,10 +411,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) @@ -422,7 +422,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 |