Pārlūkot izejas kodu

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

Nils Ohlmeier 17 gadi atpakaļ
vecāks
revīzija
a3c8c1d87b
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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