summaryrefslogtreecommitdiff
path: root/main/Makefile
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-08-02 14:42:38 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-08-02 14:42:38 +0000
commit2d4092887b8728cd310eb5b17ce64453172d9933 (patch)
treee6681356080686306bbc8f601061e305a6cf8c36 /main/Makefile
parentf507546498e4e805370e5376ed374ad4b31c9fd0 (diff)
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
Diffstat (limited to 'main/Makefile')
-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