[vlc-commits] mingw: link with static libgcc / libstdc++

Rafaël Carré git at videolan.org
Thu Apr 11 16:12:57 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Apr 11 16:12:38 2013 +0200| [f3e0178eeed19835d2f8e6131690dea603adfd4d] | committer: Rafaël Carré

mingw: link with static libgcc / libstdc++

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f3e0178eeed19835d2f8e6131690dea603adfd4d
---

 configure.ac |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 30634ad..e42127e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -214,6 +214,8 @@ case "${host_os}" in
     case "${host_os}" in
       *mingw32*)
         SYS=mingw32
+        CC="$CC -static-libgcc"
+        CXX="$CXX -static-libgcc -static-libstdc++"
         ;;
       *cygwin*)
         dnl Check if we are using the mno-cygwin mode in which case we are



More information about the vlc-commits mailing list