summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-09-26 01:30:54 -0400
committerTavian Barnes <tavianator@gmail.com>2010-09-26 01:30:54 -0400
commitbac926b1e54696beee1d84834876cfadd9939132 (patch)
treeb636cd6e38f37745cd456d5bff01a804b5ac4199 /libdimension
parent725bd4f0b4cc067fc2770f7f8ffd9c815c745239 (diff)
downloaddimension-bac926b1e54696beee1d84834876cfadd9939132.tar.xz
Add support for jemalloc.
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/Makefile.am4
1 files changed, 4 insertions, 0 deletions
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