Sfoglia il codice sorgente

- changed darwin module link flags (instead of -bundle_loader ser -flat_namespace -undefined suppress) -- in this way the build module dependecy on ser is
removed

Andrei Pelinescu-Onciul 18 anni fa
parent
commit
f233d28135
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      Makefile.defs

+ 5 - 1
Makefile.defs

@@ -57,6 +57,8 @@
 #                INSTALL_LIB, libraries install paths (andrei)
 #  2007-05-14  futex support if linux 2.5.70+ and 
 #               use_futex=yes (default) (andrei)
+#  2007-05-26  changed darwin module link flags (instead of -bundle_loader ser
+#               -flat_namespace -undefined suppress) (andrei)
 
 
 # check if already included/exported
@@ -1473,7 +1475,9 @@ ifeq ($(OS), darwin)
 		DEFS+=-DHAVE_SELECT
 	endif
 	LDFLAGS=        # darwin doesn't like -O2 or -E
-	MOD_LDFLAGS:= -bundle -bundle_loader ../../$(MAIN_NAME)
+	# the modules uses symbols from ser => either 
+	# -flat_namespace -undefined_suppress or -bundle_loader ../../$(MAIN_NAME)
+	MOD_LDFLAGS:= -bundle -flat_namespace -undefined suppress
 	LIB_LDFLAGS:= -dynamiclib
 	LIB_SUFFIX:=.dylib
 	# on darwin soname should include the full path