소스 검색

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

Nils Ohlmeier 17 년 전
부모
커밋
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