[Pkg-bitcoin-commits] [libunivalue] 40/76: mingw: link -static-libgcc -static-libstdc++

Jonas Smedegaard dr at jones.dk
Mon Apr 4 09:18:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libunivalue.

commit 84a15c3cc1429e8597805d25529fc50a2c3f1302
Author: Jonas Schnelli <dev at jonasschnelli.ch>
Date:   Thu Sep 24 10:57:42 2015 +0200

    mingw: link -static-libgcc -static-libstdc++
---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index 74c9792..db555dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,6 +55,12 @@ PKG_PROG_PKG_CONFIG
 
 AC_LANG_PUSH([C++])
 
+case $host in
+  *mingw*)
+     LDFLAGS+=" -static-libgcc -static-libstdc++"
+     ;;
+esac
+
 AC_CONFIG_FILES([
     lib/Makefile
     test/Makefile

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libunivalue.git



More information about the Pkg-bitcoin-commits mailing list