Added -ldl when linking against jemalloc, needed on Linux

This commit is contained in:
antirez 2011-06-01 17:56:50 +02:00
parent fec5a664f8
commit 7d9ba15669

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