From: Tilghman Lesher Date: Mon, 2 Aug 2010 14:27:20 +0000 (+0000) Subject: Apparently, the values in makeopts are sometimes 1:1 and sometimes 1. Compensate... X-Git-Tag: 1.8.0-beta3~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2290e2d22aa8036ba7068050668603fd8b760b16;p=thirdparty%2Fasterisk.git Apparently, the values in makeopts are sometimes 1:1 and sometimes 1. Compensate for this. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@280624 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/Makefile b/main/Makefile index 8175f1e7fb..b18d1a0d48 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