mirror of https://github.com/python/cpython
#11222: fix non-framework shared library build on Mac, patch by Ned Deily.
This commit is contained in:
parent
6c9ba24d64
commit
6e8d17c062
|
@ -458,8 +458,8 @@ libpython$(LDVERSION).so: $(LIBRARY_OBJS)
|
||||||
libpython3.so: libpython$(LDVERSION).so
|
libpython3.so: libpython$(LDVERSION).so
|
||||||
$(BLDSHARED) -o $@ -Wl,-hl$@ $^
|
$(BLDSHARED) -o $@ -Wl,-hl$@ $^
|
||||||
|
|
||||||
libpython$(VERSION).dylib: $(LIBRARY_OBJS)
|
libpython$(LDVERSION).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); \
|
$(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)
|
libpython$(VERSION).sl: $(LIBRARY_OBJS)
|
||||||
|
|
Loading…
Reference in New Issue