summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-02-19 08:47:14 (GMT)
committerGeorg Brandl <georg@python.org>2011-02-19 08:47:14 (GMT)
commit6e8d17c06271d6841b6c8cc8f8cdf6ffd2ef6c70 (patch)
treeb0c177e7827dbcf1efa61a6eb6961a9a0f10156d /Makefile.pre.in
parent6c9ba24d64bdc88ca7158f2514b5904dad0d541f (diff)
downloadcpython-6e8d17c06271d6841b6c8cc8f8cdf6ffd2ef6c70.zip
cpython-6e8d17c06271d6841b6c8cc8f8cdf6ffd2ef6c70.tar.gz
cpython-6e8d17c06271d6841b6c8cc8f8cdf6ffd2ef6c70.tar.bz2
#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 b2130bc..24d364d 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)