Permalink
Browse files

Added -ldl when linking against jemalloc, needed on Linux

  • Loading branch information...
1 parent 860e3ad commit 7f90bcfaeef134da8ec2a5c030381c6bc76d6949 @antirez committed Jun 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Makefile
View
@@ -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

0 comments on commit 7f90bcf

Please sign in to comment.