1 diff --git a/src/Makefile b/src/Makefile
2 index 3bc9f11c0..a4b23d986 100644
5 @@ -229,8 +229,8 @@ endif
7 ifeq ($(MALLOC),jemalloc)
8 DEPENDENCY_TARGETS+= jemalloc
9 - FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
10 - FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS)
11 + FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
12 + FINAL_LIBS := -ljemalloc $(FINAL_LIBS)
15 ifeq ($(BUILD_TLS),yes)