From b45eb7ca867ea7ed26cd4b503b99a5265083a358 Mon Sep 17 00:00:00 2001 From: tilghman Date: Mon, 2 Aug 2010 14:41:46 +0000 Subject: Make this a little more deterministic... we want the latest value, not just a 1 somewhere. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280628 f38db490-d61c-443f-a65b-d21fe96a405b --- main/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/Makefile b/main/Makefile index b18d1a0d4..af294dda6 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 -- cgit v1.2.3