aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-02 14:27:20 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-02 14:27:20 +0000
commit15dbe612dbf290c954afc17722c815c649180088 (patch)
tree13b21d796f90f5794db9c2280b93b8fbde9989a3
parentabbf85e1e3cbac6a587412d7a3407efa08ac24bd (diff)
Apparently, the values in makeopts are sometimes 1:1 and sometimes 1. Compensate for this.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280624 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 8175f1e7f..b18d1a0d4 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 ($(WEAKREF),1:1)
+ifneq ($(findstring 1,$(WEAKREF)),1)
OBJS+=../res/res_adsi.o
endif