Explorar o código

fixed linker error because of undefined symbols on Mac OS X/darwin

Nils Ohlmeier %!s(int64=17) %!d(string=hai) anos
pai
achega
a3c8c1d87b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      lib/cds/Makefile

+ 4 - 0
lib/cds/Makefile

@@ -12,5 +12,9 @@ DEFS+=-DSER
 INCLUDES= -I$(CURDIR)/.. -I$(CURDIR)/../..
 LIBS=
 
+ifeq ($(OS), darwin)
+	LIB_LDFLAGS+= -flat_namespace -undefined suppress
+endif
+
 include ../../Makefile.libs