From 5536f84535d59564622077aa4fd6242ef99d7661 Mon Sep 17 00:00:00 2001 From: Mark Mankins Date: Tue, 30 Sep 2025 15:39:12 -0400 Subject: [PATCH] Remove LDFLAGS assignment Setting LDFLAGS here forces users building software that depends on ristretto to have jemalloc installed in /usr/local/lib. Requiring the builder to set LDFLAGS allows for more flexible configurations where jemalloc might be installed elsewhere. --- z/calloc_jemalloc.go | 1 - 1 file changed, 1 deletion(-) diff --git a/z/calloc_jemalloc.go b/z/calloc_jemalloc.go index 1199472d..2495afe5 100644 --- a/z/calloc_jemalloc.go +++ b/z/calloc_jemalloc.go @@ -8,7 +8,6 @@ package z /* -#cgo LDFLAGS: /usr/local/lib/libjemalloc.a -L/usr/local/lib -Wl,-rpath,/usr/local/lib -ljemalloc -lm -lstdc++ -pthread -ldl #include #include */