Ticket #22517: patch-Makefile.pre.in.diff

File patch-Makefile.pre.in.diff, 896 bytes (added by eborisch@…, 15 years ago)
  • Makefile.pre.in

    old new  
    373373libpython$(VERSION).sl: $(LIBRARY_OBJS)
    374374        $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)
    375375
     376libpython$(VERSION).dylib: $(LIBRARY)
     377        /usr/bin/libtool -o $@ -dynamic $(OTHER_LIBTOOL_OPT) \
     378                -all_load $(LIBRARY) -single_module \
     379                -install_name $(LIBDIR)/$@ \
     380                -compatibility_version $(VERSION) \
     381                -current_version $(VERSION) -lSystem -lSystemStubs $(LDFLAGS)
     382
    376383# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
    377384# minimal framework (not including the Lib directory and such) in the current
    378385# directory.
     
    675682                        fi \
    676683                fi; \
    677684        else    true; \
     685        fi; \
     686        if test -f libpython$(VERSION).dylib; then \
     687                $(INSTALL_SHARED) libpython$(VERSION).dylib $(DESTDIR)$(LIBDIR); \
    678688        fi
    679689
    680690# Install the manual page