diff options
author | Christian Pointner <equinox@anytun.org> | 2016-07-03 12:30:56 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-07-03 12:53:32 +0200 |
commit | ca32c26672f92132e3bfcb54e4e6253ea676b866 (patch) | |
tree | 3186df66eb569a82ce7c0e2e6b82ec6051c163be /contrib/make-mingw-release.sh | |
parent | updated changelog for release (diff) |
fixed win build scripts
Diffstat (limited to 'contrib/make-mingw-release.sh')
-rwxr-xr-x | contrib/make-mingw-release.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/make-mingw-release.sh b/contrib/make-mingw-release.sh index 5a1d29f..4df517a 100755 --- a/contrib/make-mingw-release.sh +++ b/contrib/make-mingw-release.sh @@ -4,11 +4,11 @@ VER=`cat ../version` for target in w32 w64; do if [ "$target" = "w32" ]; then - LIBGCC_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion`/libgcc_s_sjlj-1.dll - LIBSTDCPP_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion`/libstdc++-6.dll + LIBGCC_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion | sed 's/^\([0-9]*\.[0-9]*\).*/\1-win32/'`/libgcc_s_sjlj-1.dll + LIBSTDCPP_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion | sed 's/^\([0-9]*\.[0-9]*\).*/\1-win32/'`/libstdc++-6.dll else - LIBGCC_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion`/libgcc_s_sjlj-1.dll - LIBSTDCPP_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion`/libstdc++-6.dll + LIBGCC_DLL=/usr/lib/gcc/x86_64-w64-mingw32/`x86_64-w64-mingw32-g++ -dumpversion | sed 's/^\([0-9]*\.[0-9]*\).*/\1-win32/'`/libgcc_s_seh-1.dll + LIBSTDCPP_DLL=/usr/lib/gcc/x86_64-w64-mingw32/`x86_64-w64-mingw32-g++ -dumpversion | sed 's/^\([0-9]*\.[0-9]*\).*/\1-win32/'`/libstdc++-6.dll fi mkdir anytun-$VER-$target cp anytun-$target/*.exe anytun-$VER-$target |