From: antirez Date: Wed, 1 Jun 2011 15:56:50 +0000 (+0200) Subject: Added -ldl when linking against jemalloc, needed on Linux X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/7d9ba156690b0eef1167f8ed9c5d1d3e09e1948e?ds=sidebyside Added -ldl when linking against jemalloc, needed on Linux --- diff --git a/src/Makefile b/src/Makefile index dc32ab73..35ffb94a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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