]> git.saurik.com Git - redis.git/commitdiff
Added -ldl when linking against jemalloc, needed on Linux
authorantirez <antirez@gmail.com>
Wed, 1 Jun 2011 15:56:50 +0000 (17:56 +0200)
committerantirez <antirez@gmail.com>
Mon, 20 Jun 2011 09:54:35 +0000 (11:54 +0200)
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