more cygwin/mingw32 compatibility fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2007-11-17 10:54:52 +00:00
parent a45c53bc5b
commit 7cd78079ae
3 changed files with 13 additions and 1 deletions

View File

@@ -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