From 59692c5e94a00a2561bb2876f67d4ab70bafdc5c Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Sat, 17 Nov 2007 14:44:03 +0000 Subject: [PATCH] wrong variable, wrong order -> broken build. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89381 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cbf7005bcb..a6ed5085b0 100644 --- a/Makefile +++ b/Makefile @@ -253,13 +253,13 @@ ASTCFLAGS+=$(MALLOC_DEBUG)$(BUSYDETECT)$(OPTIONS) MOD_SUBDIRS:=channels pbx apps codecs formats cdr funcs OTHER_SUBDIRS:=utils agi -SUBDIRS:=$(OTHER_SUBDIRS) $(MOD_SUBDIRS) # in cygwin we need to build main (i.e. asterisk.dll) first, then res. ifneq ($(findstring $(OSARCH), mingw32 cygwin ),) SUBDIRS+= main res else - OTHER_SUBDIRS += res main + MOD_SUBDIRS += res main endif +SUBDIRS:=$(OTHER_SUBDIRS) $(MOD_SUBDIRS) SUBDIRS_INSTALL:=$(SUBDIRS:%=%-install) SUBDIRS_CLEAN:=$(SUBDIRS:%=%-clean) SUBDIRS_DIST_CLEAN:=$(SUBDIRS:%=%-dist-clean)