aboutsummaryrefslogtreecommitdiffstats
path: root/main/Makefile
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 10:54:52 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-17 10:54:52 +0000
commit163cc146a71beb14c24a62e171978118d3a7023c (patch)
tree5a1238373259b4826d15db062401668a35c38bf3 /main/Makefile
parent678373f7a80925b4dc21a0f24419c5c973e2958f (diff)
more cygwin/mingw32 compatibility fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89373 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/Makefile')
-rw-r--r--main/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/Makefile b/main/Makefile
index a5e278b8f..d118d3adf 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -85,6 +85,10 @@ ifeq ($(OSARCH),FreeBSD)
AST_LIBS+=-lcrypto
endif
+ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
+ AST_LIBS+=-lminires -ldl
+ ASTLINK+= -shared -Wl,--out-implib,asterisk.dll
+endif
ifeq ($(OSARCH),NetBSD)
AST_LIBS+=-lpthread -lcrypto -lm -L/usr/pkg/lib $(EDITLINE_LIB)
endif