Added -ldl when linking against jemalloc, needed on Linux

This commit is contained in:
antirez 2011-06-01 17:56:50 +02:00
parent 2f4850b0c2
commit f1912d5f09

View File

@ -36,7 +36,7 @@ endif
ifeq ($(USE_JEMALLOC),yes)
ALLOC_DEP=../deps/jemalloc/lib/libjemalloc.a
ALLOC_LINK=$(ALLOC_DEP)
ALLOC_LINK=$(ALLOC_DEP) -ldl
ALLOC_FLAGS=-DUSE_JEMALLOC -I../deps/jemalloc/include
endif