From 0ab4420d66fd355d2b6434d43e72293ef2800cad Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 16 Jul 2010 04:45:33 +0000 Subject: Fix build on FreeBSD git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276871 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main') diff --git a/main/Makefile b/main/Makefile index 1ec018bb3..8175f1e7f 100644 --- a/main/Makefile +++ b/main/Makefile @@ -95,7 +95,10 @@ ifneq ($(findstring USE_HOARD_ALLOCATOR,$(MENUSELECT_CFLAGS)),) endif ifeq ($(GNU_LD),1) -ASTLINK+=-Wl,--version-script,asterisk.exports,--dynamic-list,asterisk.dynamics +ASTLINK+=-Wl,--version-script,asterisk.exports + ifeq ($(HAVE_DYNAMIC_LIST),1) + ASTLINK+=-Wl,--dynamic-list,asterisk.dynamics + endif endif CHECK_SUBDIR: # do nothing, just make sure that we recurse in the subdir/ -- cgit v1.2.3