From 7d9ba156690b0eef1167f8ed9c5d1d3e09e1948e Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 1 Jun 2011 17:56:50 +0200 Subject: [PATCH] Added -ldl when linking against jemalloc, needed on Linux --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index dc32ab732..35ffb94a4 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