Commits

Georg Brandl  committed 6cab9a9

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

  • Participants
  • Parent commits 92debdf

Comments (0)

Files changed (2)

File Makefile.pre.in

 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)
 Build
 -----
 
+- Issue #11222: Fix non-framework shared library build on Mac OS X.
+
 - Issue #941346: Fix broken shared library build on AIX.
 
 Documentation