summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-17 10:12:43 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-17 10:12:43 +0000
commit5914462817fa545d57cc28c5c17582388a63515c (patch)
tree2bac7e08d304b1eb0af910d9be4a563dbcb44260 /Makefile
parent91475fd3dc8123eebd9c06e65a8f16f76ad1154e (diff)
these linker flags apply to both cygwin and mingw32
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d04c42d56..121b2488e 100644
--- 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