summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-17 04:19:02 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-17 04:19:02 +0000
commitba7113ea17f062c9a665f314e14203ffba0e9886 (patch)
treea024eb61ea54ce70ba39f972cf8e63bcfda07dd4 /Makefile
parentaeba4fef657de50130b86b08359af84af0e0ee04 (diff)
linker flags for mingw32
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 764c166a9..d04c42d56 100644
--- a/Makefile
+++ b/Makefile
@@ -277,6 +277,10 @@ ifeq ($(OSARCH),SunOS)
SOLINK=-shared -fpic -L/usr/local/ssl/lib
endif
+ifeq ($(OSARCH),mingw32)
+ SOLINK=-Xlinker -r
+endif
+
# This is used when generating the doxygen documentation
ifneq ($(DOT),:)
HAVEDOT=yes