From 6e8d17c06271d6841b6c8cc8f8cdf6ffd2ef6c70 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 19 Feb 2011 08:47:14 +0000 Subject: [PATCH] #11222: fix non-framework shared library build on Mac, patch by Ned Deily. --- Makefile.pre.in | 4 ++-- Misc/NEWS | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.40.0