diff options
author | Matthias Klose <doko@ubuntu.com> | 2009-02-24 11:07:44 (GMT) |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2009-02-24 11:07:44 (GMT) |
commit | 54fba82310bd8441dfc580e37daacb52a217d4fb (patch) | |
tree | e421bf60f62015655ef41a76a23758fb8ea37e20 /Makefile.pre.in | |
parent | d187d520850833c46944f0096362270f6f09b8ab (diff) | |
download | cpython-54fba82310bd8441dfc580e37daacb52a217d4fb.zip cpython-54fba82310bd8441dfc580e37daacb52a217d4fb.tar.gz cpython-54fba82310bd8441dfc580e37daacb52a217d4fb.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 37dd77f..5c5e29c 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -412,10 +412,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) @@ -423,7 +423,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 |