summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-02-19 08:47:14 +0000
committerGeorg Brandl <georg@python.org>2011-02-19 08:47:14 +0000
commit9cc7438c92d7a71b497132328cedbb2385e86995 (patch)
treebf8abd4b2ab54c9470c8a8342876b3b1acc5a160 /Makefile.pre.in
parent8d17a576a6a652b56b22a069e32e566f71278ea2 (diff)
downloadcpython-9cc7438c92d7a71b497132328cedbb2385e86995.tar.gz
#11222: fix non-framework shared library build on Mac, patch by Ned Deily.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index b2130bc26e..24d364dd5c 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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)