blob: 137013c132dfbc91edd5eb1a147a4c0f8653c2a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-au,v 1.3 2009/10/21 06:36:04 wiz 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.3 -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
|