27 lines
1 KiB
Text
27 lines
1 KiB
Text
$NetBSD: patch-au,v 1.5 2009/10/21 11:33:32 tron Exp $
|
|
|
|
--- Makefile.pre.in.orig 2009-02-24 11:07:44.000000000 +0000
|
|
+++ Makefile.pre.in
|
|
@@ -425,6 +425,12 @@ libpython$(VERSION).dylib: $(LIBRARY_OBJ
|
|
libpython$(VERSION).sl: $(LIBRARY_OBJS)
|
|
$(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST)
|
|
|
|
+libpython$(VERSION).dylib: $(LIBRARY_OBJS)
|
|
+ $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@ \
|
|
+ -current_version 2.6.2 -compatibility_version $(VERSION) \
|
|
+ -o $@ -flat_namespace -undefined suppress $(LDFLAGS) \
|
|
+ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)
|
|
+
|
|
# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
|
|
# minimal framework (not including the Lib directory and such) in the current
|
|
# directory.
|
|
@@ -785,7 +791,8 @@ altbininstall: $(BUILDPYTHON)
|
|
(cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) $(LDLIBRARY)) \
|
|
fi \
|
|
fi; \
|
|
- else true; \
|
|
+ elif test -f $(INSTSONAME); then \
|
|
+ $(INSTALL_SHARED) $(INSTSONAME) $(DESTDIR)$(LIBDIR); \
|
|
fi
|
|
|
|
# Install the manual page
|