From e2ff55122d36c1190599be67d8e0ffb306c231bd Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 15 Jul 2010 18:44:20 +0000 Subject: Fix linking asterisk on CentOS 5, which is using gcc 4.1.1. Gcc 4.1.2 has the real fix. Review: https://reviewboard.asterisk.org/r/790/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276731 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/Makefile') diff --git a/main/Makefile b/main/Makefile index 361b0dc40..1ec018bb3 100644 --- a/main/Makefile +++ b/main/Makefile @@ -26,6 +26,9 @@ OBJS=$(filter-out $(OBJSFILTER),$(SRC:.c=.o)) # otherwise modules will not have them available if none of the static # objects use it. OBJS+=stdtime/localtime.o +ifneq ($(WEAKREF),1:1) +OBJS+=../res/res_adsi.o +endif AST_LIBS += $(OPENSSL_LIB) AST_LIBS += $(BKTR_LIB) -- cgit v1.2.3