Ticket #12803: patch-Makefile.pre.in

File patch-Makefile.pre.in, 622 bytes (added by nox@…, 17 years ago)
Line 
1--- Makefile.pre.in.orig        2007-09-27 16:22:27.000000000 +0200
2+++ Makefile.pre.in     2007-09-27 16:25:08.000000000 +0200
3@@ -373,6 +373,12 @@
4 libpython$(VERSION).sl: $(LIBRARY_OBJS)
5        $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)
6 
7+libpython$(VERSION).dylib: $(LIBRARY_OBJS)
8+       libtool -o $@ -dynamic $(OTHER_LIBTOOL_OPT) \
9+               -install_name $(INSTSONAME) \
10+               -compatibility_version $(VERSION) \
11+               -current_version $(VERSION) $(LIBRARY_OBJS)
12+
13 # This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
14 # minimal framework (not including the Lib directory and such) in the current
15 # directory.