Ticket #16300: patch-lib__Makefile.darwin-lib

File patch-lib__Makefile.darwin-lib, 577 bytes (added by niel.drummond@…, 15 years ago)
Line 
1--- lib/Makefile.darwin-lib.orig        2008-11-26 14:53:45.000000000 -0800
2+++ lib/Makefile.darwin-lib     2008-11-26 14:53:51.000000000 -0800
3@@ -23,7 +23,7 @@
4 
5 $(BSD_LIB): $(OBJS)
6        @echo " GEN_BSD_SOLIB $(BSD_LIB)"
7-       @(cd pic; $(CC) -dynamiclib -compatibility_version 1.0 -current_version $(BSDLIB_VERSION) \
8+       @(cd pic; $(CC) -dynamiclib -install_name $(BSDLIB_INSTALL_DIR)/$(BSD_LIB) -compatibility_version 1.0 -current_version $(BSDLIB_VERSION) -Wl,-single_module \
9                -flat_namespace -undefined warning -o $(BSD_LIB) $(OBJS))
10        @$(MV) pic/$(BSD_LIB) .
11        @$(RM) -f ../$(BSD_LIB)