mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Merged revisions 69889 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69889 | matthias.klose | 2009-02-23 00:14:26 +0100 (Mo, 23 Feb 2009) | 2 lines - Link the shared python library with $(MODLIBS). ........
This commit is contained in:
parent
929a723690
commit
906785c4c2
2 changed files with 5 additions and 3 deletions
|
@ -419,10 +419,10 @@ $(LIBRARY): $(LIBRARY_OBJS)
|
||||||
|
|
||||||
libpython$(VERSION).so: $(LIBRARY_OBJS)
|
libpython$(VERSION).so: $(LIBRARY_OBJS)
|
||||||
if test $(INSTSONAME) != $(LDLIBRARY); then \
|
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) $@; \
|
$(LN) -f $(INSTSONAME) $@; \
|
||||||
else \
|
else \
|
||||||
$(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
|
$(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
libpython$(VERSION).dylib: $(LIBRARY_OBJS)
|
libpython$(VERSION).dylib: $(LIBRARY_OBJS)
|
||||||
|
@ -430,7 +430,7 @@ libpython$(VERSION).dylib: $(LIBRARY_OBJS)
|
||||||
|
|
||||||
|
|
||||||
libpython$(VERSION).sl: $(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
|
# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
|
||||||
# minimal framework (not including the Lib directory and such) in the current
|
# minimal framework (not including the Lib directory and such) in the current
|
||||||
|
|
|
@ -479,6 +479,8 @@ Tools/Demos
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Link the shared python library with $(MODLIBS).
|
||||||
|
|
||||||
- Issue #5134: Silence compiler warnings when compiling sqlite with VC++.
|
- Issue #5134: Silence compiler warnings when compiling sqlite with VC++.
|
||||||
|
|
||||||
- Issue #4494: Fix build with Py_NO_ENABLE_SHARED on Windows.
|
- Issue #4494: Fix build with Py_NO_ENABLE_SHARED on Windows.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue