aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/Makefile7
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