From bac926b1e54696beee1d84834876cfadd9939132 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 26 Sep 2010 01:30:54 -0400 Subject: Add support for jemalloc. --- libdimension/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libdimension') diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am index e437659..16ab286 100644 --- a/libdimension/Makefile.am +++ b/libdimension/Makefile.am @@ -89,6 +89,10 @@ libdimension_la_CFLAGS = $(AM_CFLAGS) -pthread libdimension_la_LDFLAGS = -version-info 0:0:0 $(AM_LDFLAGS) libdimension_la_LIBADD = -lm +if JEMALLOC +libdimension_la_LIBADD += -ljemalloc +endif + if PNG libdimension_la_SOURCES += png.c libdimension_la_LIBADD += -lpng -- cgit v1.2.3