From 2d4092887b8728cd310eb5b17ce64453172d9933 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 2 Aug 2010 14:42:38 +0000 Subject: [PATCH] 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 --- main/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2