]> granicus.if.org Git - python/commitdiff
#11222: fix non-framework shared library build on Mac, patch by Ned Deily.
authorGeorg Brandl <georg@python.org>
Sat, 19 Feb 2011 08:47:14 +0000 (08:47 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 19 Feb 2011 08:47:14 +0000 (08:47 +0000)
Makefile.pre.in
Misc/NEWS

index b2130bc26ec55ca961c6478a21fb19d6fa6db16e..24d364dd5cd5bd11fc6148d6dc0d78ec735688d4 100644 (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)
index 6df838590f8a7bc29f9f4aaa7a1f283e0e4181dc..d7f79d206c2c870923e14d76f6def75d6ae92c70 100644 (file)
--- 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