]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Apparently, the values in makeopts are sometimes 1:1 and sometimes 1. Compensate...
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 2 Aug 2010 14:27:20 +0000 (14:27 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 2 Aug 2010 14:27:20 +0000 (14:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@280624 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/Makefile

index 8175f1e7fb34e9ff898b4ff2f9d1945bde9df41e..b18d1a0d480754be5f3f9a8664418d30d38e8a48 100644 (file)
@@ -26,7 +26,7 @@ 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)
+ifneq ($(findstring 1,$(WEAKREF)),1)
 OBJS+=../res/res_adsi.o
 endif