Skip to content

Commit

Permalink
python#11222: fix non-framework shared library build on Mac, patch by…
Browse files Browse the repository at this point in the history
… Ned Deily.
  • Loading branch information
birkenfeld committed Feb 19, 2011
1 parent 6c9ba24 commit 6e8d17c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e8d17c

Please sign in to comment.