[Olsr-cvs] olsrd-current/src/cfgparser Makefile,1.20,1.21
Thomas Lopatic
(spam-protected)
Thu Dec 29 20:48:45 CET 2005
Update of /cvsroot/olsrd/olsrd-current/src/cfgparser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16627/src/cfgparser
Modified Files:
Makefile
Log Message:
Reanimated OS X port. Any OS X dynamic linking experts? Just tried a
couple of options from the ld man page that seemed plausible. Looks
okay, but should be verified by somebody that knows what he's doing.
Index: Makefile
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/Makefile,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** Makefile 2 Jun 2005 14:41:59 -0000 1.20
--- Makefile 29 Dec 2005 19:48:43 -0000 1.21
***************
*** 68,72 ****
--- 68,78 ----
# build lib per default
+
+ ifeq (${OS}, osx)
+ LDFLAGS += -dynamiclib -single_module
+ else
LDFLAGS += -shared -Wl,-soname,$(LIBNAME)
+ endif
+
CFLAGS += -DMAKELIB
NAME = $(LIBNAME)
More information about the Olsr-cvs
mailing list