From: Georg Brandl Date: Sat, 19 Feb 2011 08:47:14 +0000 (+0000) Subject: #11222: fix non-framework shared library build on Mac, patch by Ned Deily. X-Git-Tag: v3.2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e8d17c06271d6841b6c8cc8f8cdf6ffd2ef6c70;p=python #11222: fix non-framework shared library build on Mac, patch by Ned Deily. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index b2130bc26e..24d364dd5c 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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) diff --git a/Misc/NEWS b/Misc/NEWS index 6df838590f..d7f79d206c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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