mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
#11222: fix non-framework shared library build on Mac, patch by Ned Deily.
This commit is contained in:
parent
6c9ba24d64
commit
6e8d17c062
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue