]> git.saurik.com Git - redis.git/blobdiff - src/Makefile
Added -ldl when linking against jemalloc, needed on Linux
[redis.git] / src / Makefile
index dc32ab732b655e6f934a619c490525490c6649a9..35ffb94a462808037265e4f40f0a27fa039b9f44 100644 (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