Not use jemalloc on macosx, See Issue #99

This commit is contained in:
Cloud
2014-04-28 13:48:50 +08:00
parent aa65dac9ed
commit 37cb126812
3 changed files with 153 additions and 96 deletions

View File

@@ -31,4 +31,7 @@ freebsd : PLAT = freebsd
macosx linux : LIBS += -ldl
macosx : SHARED := -fPIC -dynamiclib -Wl,-undefined,dynamic_lookup
macosx : EXPORT :=
macosx : MALLOC_STATICLIB :=
macosx : SKYNET_DEFINES :=-DNOUSE_JEMALLOC
linux freebsd : LIBS += -lrt
linux freebsd : MALLOC_STATICLIB = $(JEMALLOC_STATICLIB)