#11222: fix non-framework shared library build on Mac, patch by Ned Deily.

This commit is contained in:
Georg Brandl 2011-02-19 08:47:14 +00:00
parent 6c9ba24d64
commit 6e8d17c062
2 changed files with 4 additions and 2 deletions

View File

@ -458,8 +458,8 @@ libpython$(LDVERSION).so: $(LIBRARY_OBJS)
libpython3.so: libpython$(LDVERSION).so
$(BLDSHARED) -o $@ -Wl,-hl$@ $^
libpython$(VERSION).dylib: $(LIBRARY_OBJS)
$(CC) -dynamiclib -Wl,-single_module $(PY_LDFLAGS) -undefined dynamic_lookup -Wl,-install_name,$(prefix)/lib/libpython$(VERSION).dylib -Wl,-compatibility_version,$(VERSION) -Wl,-current_version,$(VERSION) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
libpython$(LDVERSION).dylib: $(LIBRARY_OBJS)
$(CC) -dynamiclib -Wl,-single_module $(PY_LDFLAGS) -undefined dynamic_lookup -Wl,-install_name,$(prefix)/lib/libpython$(LDVERSION).dylib -Wl,-compatibility_version,$(VERSION) -Wl,-current_version,$(VERSION) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
libpython$(VERSION).sl: $(LIBRARY_OBJS)

View File

@ -16,6 +16,8 @@ Library
Build
-----
- Issue #11222: Fix non-framework shared library build on Mac OS X.
- Issue #941346: Fix broken shared library build on AIX.
Documentation