]> git.pld-linux.org Git - packages/redis.git/blame - system-jemalloc.patch
use dynamic linking for jemalloc
[packages/redis.git] / system-jemalloc.patch
CommitLineData
157344ba
JP
1--- redis-6.2.5/src/Makefile.orig 2021-07-21 20:06:49.000000000 +0200
2+++ redis-6.2.5/src/Makefile 2022-09-03 18:49:53.269090855 +0200
3@@ -229,9 +227,8 @@
4 endif
5
6 ifeq ($(MALLOC),jemalloc)
7- DEPENDENCY_TARGETS+= jemalloc
8- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
9- FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS)
10+ FINAL_CFLAGS+= -DUSE_JEMALLOC $(shell $(PKG_CONFIG) --cflags jemalloc)
11+ FINAL_LIBS := $(FINAL_LIBS) $(shell $(PKG_CONFIG) --libs jemalloc)
12 endif
13
14 ifeq ($(BUILD_TLS),yes)
This page took 0.030831 seconds and 4 git commands to generate.