diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-20 16:12:10 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-20 16:12:10 +0000 |
commit | 6938f4b2b002accd9c86e5cc63cfe31d0fe10e47 (patch) | |
tree | 9fed703dfecda0baea12e9016df436a1113463ca /res/Makefile | |
parent | f5e5a443cf035f2bb8334ac6c0c3d01fb19d0f2c (diff) |
Fix building of modules under cygwin.
After this commit we can actually load modules under windows,
and we can start debugging more interesting problems related
to the load order and functionality of modules.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/Makefile')
-rw-r--r-- | res/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/Makefile b/res/Makefile index 0d0863d51..4912a1dc9 100644 --- a/res/Makefile +++ b/res/Makefile @@ -25,6 +25,13 @@ all: _all include $(ASTTOPDIR)/Makefile.moddir_rules +ifneq ($(findstring $(OSARCH), mingw32 cygwin ),) + # order-only dependency: build res_monitor before res_features + res_features.so: | res_monitor.so + # res_features uses some functions from res_monitor + res_features.so_LIBS:= -lres_monitor.so +endif + ael/ael_lex.o: ael/ael_lex.c ../include/asterisk/ael_structs.h ael/ael.tab.h ael/ael_lex.o: ASTCFLAGS+=-I. -Iael |