Merged revisions 280628 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 2 Aug 2010 14:42:38 +0000 (14:42 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 2 Aug 2010 14:42:38 +0000 (14:42 +0000)
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

index b18d1a0..af294dd 100644 (file)
@@ -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