summaryrefslogtreecommitdiff
path: root/pbx/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 /pbx/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 'pbx/Makefile')
-rw-r--r--pbx/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/pbx/Makefile b/pbx/Makefile
index 6a229a8d8..24c4a8e0d 100644
--- a/pbx/Makefile
+++ b/pbx/Makefile
@@ -25,6 +25,10 @@ all: _all
include $(ASTTOPDIR)/Makefile.moddir_rules
+ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
+ LIBS+= -lres_ael_share.so -lres_monitor.so
+endif
+
clean::
rm -f ael/*.o