Skip to content

Commit

Permalink
Ship libgcc_s_dw2-1.dll in the Windows package
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Aug 28, 2014
1 parent 69f7264 commit ec79c1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist-build/msys2-win32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export CFLAGS="-Os -m32 -march=pentium2 -mtune=nocona"
export PREFIX="$(pwd)/dnscrypt-proxy-win32"
export MINGW_PREFIX='/usr/mingw32'
export MINGW_PREFIX='/mingw32'
export SODIUM_PREFIX='/tmp/libsodium-win32'

export CPPFLAGS="-I${SODIUM_PREFIX}/include"
Expand All @@ -20,6 +20,7 @@ rm -fr "${PREFIX}/lib/pkgconfig"
mv "${PREFIX}/lib/dnscrypt-proxy" "${PREFIX}/plugins/"
rm -fr "${PREFIX}/lib"
cp "${MINGW_PREFIX}/bin/libwinpthread-1.dll" "${PREFIX}/bin/"
cp "${MINGW_PREFIX}/bin/libgcc_s_dw2-1.dll" "${PREFIX}/bin/"
cp "${MINGW_PREFIX}/bin/libldns-1.dll" "${PREFIX}/bin/"
cp "${SODIUM_PREFIX}/bin/libsodium-13.dll" "${PREFIX}/bin/"

Expand Down

0 comments on commit ec79c1f

Please sign in to comment.