From ed3bb15af4dacb87af9437f620353af14832c82c Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 13 Jun 2012 19:36:39 +0000 Subject: [PATCH] Remove forced linking of res_adsi.o In GCC 4.5+ the result is that Asterisk has a phantom module loaded at startup, claiming to be res_adsi. (closes issue ASTERISK-19920) reported by Leif Madsen ........ Merged revisions 368873 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@368885 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/main/Makefile b/main/Makefile index 728b80591a..e29e88fbde 100644 --- a/main/Makefile +++ b/main/Makefile @@ -26,9 +26,6 @@ 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 ($(firstword $(subst :, ,$(WEAKREF))),1) -OBJS+=../res/res_adsi.o -endif AST_LIBS += $(OPENSSL_LIB) AST_LIBS += $(BKTR_LIB) -- 2.47.2