2
0
Эх сурвалжийг харах

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

Nils Ohlmeier 17 жил өмнө
parent
commit
a3c8c1d87b
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  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