]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
these linker flags apply to both cygwin and mingw32
authorLuigi Rizzo <rizzo@icir.org>
Sat, 17 Nov 2007 10:12:43 +0000 (10:12 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sat, 17 Nov 2007 10:12:43 +0000 (10:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89369 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index d04c42d56231eee0e126a0fdf88e4ba184dfa600..121b2488e5a1f36f4d1618b4dc991a9dc632db73 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -277,7 +277,7 @@ ifeq ($(OSARCH),SunOS)
   SOLINK=-shared -fpic -L/usr/local/ssl/lib
 endif
 
-ifeq ($(OSARCH),mingw32)
+ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
   SOLINK=-Xlinker -r
 endif