]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove forced linking of res_adsi.o
authorMark Michelson <mmichelson@digium.com>
Wed, 13 Jun 2012 19:00:21 +0000 (19:00 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 13 Jun 2012 19:00:21 +0000 (19:00 +0000)
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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@368873 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/Makefile

index 67f8b2ea08c8f5764cfcf5a929020d58d3a7b82a..72465e56df632a2b4cfb4114ce31c4400ebf9828 100644 (file)
@@ -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)