summaryrefslogtreecommitdiff
path: root/channels/Makefile
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-20 16:12:10 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-20 16:12:10 +0000
commit6938f4b2b002accd9c86e5cc63cfe31d0fe10e47 (patch)
tree9fed703dfecda0baea12e9016df436a1113463ca /channels/Makefile
parentf5e5a443cf035f2bb8334ac6c0c3d01fb19d0f2c (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 'channels/Makefile')
-rw-r--r--channels/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/Makefile b/channels/Makefile
index 53c7790b9..bfe4f9149 100644
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -64,6 +64,10 @@ all: _all
include $(ASTTOPDIR)/Makefile.moddir_rules
+ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
+ LIBS+= -lres_monitor.so -lres_features.so
+endif
+
clean::
rm -f gentone
$(MAKE) -C misdn clean