From: Luigi Rizzo Date: Tue, 4 Dec 2007 11:50:05 +0000 (+0000) Subject: fix build on cygwin X-Git-Tag: 1.6.0-beta1~3^2~570 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c11deeffb1a5a75bbbc1a7071e329d4e343ee6c;p=thirdparty%2Fasterisk.git fix build on cygwin git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90834 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/Makefile b/res/Makefile index 4912a1dc97..1a0f456863 100644 --- a/res/Makefile +++ b/res/Makefile @@ -26,10 +26,13 @@ all: _all include $(ASTTOPDIR)/Makefile.moddir_rules ifneq ($(findstring $(OSARCH), mingw32 cygwin ),) - # order-only dependency: build res_monitor before res_features + # cygwin has some dependencies among res_ things. + # We use order-only dependencies, and then add the libraries as required. res_features.so: | res_monitor.so - # res_features uses some functions from res_monitor res_features.so_LIBS:= -lres_monitor.so + # + res_agi.so: | res_speech.so + res_agi.so_LIBS:= -lres_speech.so endif ael/ael_lex.o: ael/ael_lex.c ../include/asterisk/ael_structs.h ael/ael.tab.h