summaryrefslogtreecommitdiff
path: root/res/Makefile
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-12-04 11:50:05 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-12-04 11:50:05 +0000
commit6c11deeffb1a5a75bbbc1a7071e329d4e343ee6c (patch)
treeeb5848ad867854a8f95851ced1ab997e826602a8 /res/Makefile
parent0f8b1f1ce8c1021693d1df200b3427d9870c53f4 (diff)
fix build on cygwin
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/Makefile')
-rw-r--r--res/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/res/Makefile b/res/Makefile
index 4912a1dc9..1a0f45686 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