Skip to content

Commit

Permalink
Merge pull request bitcoin#8 from jonasschnelli/2015/09/mingw_static
Browse files Browse the repository at this point in the history
mingw: link -static-libgcc -static-libstdc++
  • Loading branch information
Jeff Garzik committed Sep 25, 2015
2 parents 27db358 + 84a15c3 commit fa79339
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa79339

Please sign in to comment.