aboutsummaryrefslogtreecommitdiffstats
path: root/main/Makefile
diff options
context:
space:
mode:
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