linker flags for mingw32
authorLuigi Rizzo <rizzo@icir.org>
Sat, 17 Nov 2007 04:19:02 +0000 (04:19 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sat, 17 Nov 2007 04:19:02 +0000 (04:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89358 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 764c166..d04c42d 100644 (file)
--- 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