aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-02 14:41:46 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-02 14:41:46 +0000
commitb45eb7ca867ea7ed26cd4b503b99a5265083a358 (patch)
treea42635a2cab291a0fc56d17e6358b7b3d19651ec
parent15dbe612dbf290c954afc17722c815c649180088 (diff)
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
-rw-r--r--main/Makefile2
1 files changed, 1 insertions, 1 deletions
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