From: Tilghman Lesher Date: Mon, 2 Aug 2010 14:42:38 +0000 (+0000) Subject: Merged revisions 280628 via svnmerge from X-Git-Tag: 11.0.0-beta1~2507 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d4092887b8728cd310eb5b17ce64453172d9933;p=thirdparty%2Fasterisk.git Merged revisions 280628 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r280628 | tilghman | 2010-08-02 09:41:46 -0500 (Mon, 02 Aug 2010) | 2 lines Make this a little more deterministic... we want the latest value, not just a 1 somewhere. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@280629 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/Makefile b/main/Makefile index b18d1a0d48..af294dda67 100644 --- a/main/Makefile +++ b/main/Makefile @@ -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 ($(findstring 1,$(WEAKREF)),1) +ifneq ($(firstword $(subst :, ,$(WEAKREF))),1) OBJS+=../res/res_adsi.o endif