aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.darwin-lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile.darwin-lib')
-rw-r--r--lib/Makefile.darwin-lib3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.darwin-lib b/lib/Makefile.darwin-lib
index 95cdd4b4..95e8ee06 100644
--- a/lib/Makefile.darwin-lib
+++ b/lib/Makefile.darwin-lib
@@ -24,7 +24,8 @@ image: $(BSD_LIB)
$(BSD_LIB): $(OBJS)
$(E) " GEN_BSD_SOLIB $(BSD_LIB)"
$(Q) (cd pic; $(CC) -dynamiclib -compatibility_version 1.0 -current_version $(BSDLIB_VERSION) \
- -flat_namespace -undefined warning -o $(BSD_LIB) $(OBJS))
+ -install_name $(BSDLIB_INSTALL_DIR)/$(BSD_LIB) \
+ -undefined dynamic_lookup -o $(BSD_LIB) $(OBJS))
$(Q) $(MV) pic/$(BSD_LIB) .
$(Q) $(RM) -f ../$(BSD_LIB)
$(Q) (cd ..; $(LN) $(LINK_BUILD_FLAGS) \