From 3d0bfa3f28848917a478bc35c6c71b44e7fd7c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ayd=C4=B1n=20Mercan?= Date: Thu, 11 Jan 2024 13:59:11 +0300 Subject: [PATCH] Link jemalloc again for testing unit build order (cherry picked from commit 62152068015e36586ea8d2221e5ffd2d292750a4) --- Makefile.tests | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.tests b/Makefile.tests index e1b7e0e046..a0ea914d40 100644 --- a/Makefile.tests +++ b/Makefile.tests @@ -21,3 +21,8 @@ AM_CPPFLAGS += \ LDADD += \ $(top_builddir)/tests/libtest/libtest.la \ $(CMOCKA_LIBS) + +if HAVE_JEMALLOC +AM_CFLAGS += $(JEMALLOC_CFLAGS) +LDADD += $(JEMALLOC_LIBS) +endif