summaryrefslogtreecommitdiff
path: root/main/Makefile
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2008-08-03 16:14:14 +0000
committerSean Bright <sean@malleable.com>2008-08-03 16:14:14 +0000
commit6cf6d9eca5c9a6ed95c646545c06bf9d5ee82b13 (patch)
tree29c91d891c8a34d1f8d9c00a25db68301ed02e6f /main/Makefile
parent340809a7710c3e388ca1208ca66d0c9e5deb08b8 (diff)
Merge in changes that allow Asterisk to be built against the Hoard
memory allocator. See doc/hoard.txt for more details. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/Makefile')
-rw-r--r--main/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/Makefile b/main/Makefile
index ddecb0b37..a985819de 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -104,6 +104,12 @@ ifeq ($(OSARCH),SunOS)
ASTLINK=
endif
+ifneq ($(findstring USE_HOARD_ALLOCATOR,$(MENUSELECT_CFLAGS)),)
+ ifneq ($(HOARD_LIB),)
+ AST_LIBS+=$(HOARD_LIB)
+ endif
+endif
+
CHECK_SUBDIR: # do nothing, just make sure that we recurse in the subdir/
editline/libedit.a: CHECK_SUBDIR