Added -ldl when linking against jemalloc, needed on Linux

This commit is contained in:
antirez 2011-06-01 17:56:50 +02:00
parent 860e3ade2d
commit 7f90bcfaee

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