From 9e41a69ae825595ae8db890ed5ce1ccdfb778443 Mon Sep 17 00:00:00 2001 From: tilghman Date: Fri, 16 Jul 2010 04:45:33 +0000 Subject: Fix build on FreeBSD git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276871 f38db490-d61c-443f-a65b-d21fe96a405b --- 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