fix build on cygwin
authorLuigi Rizzo <rizzo@icir.org>
Tue, 4 Dec 2007 11:50:05 +0000 (11:50 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Tue, 4 Dec 2007 11:50:05 +0000 (11:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90834 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/Makefile

index 4912a1d..1a0f456 100644 (file)
@@ -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