fix build on cygwin

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo 2007-12-04 11:50:05 +00:00
parent 0f8b1f1ce8
commit 6c11deeffb
1 changed files with 5 additions and 2 deletions

View 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