diff --git a/build-win32 b/build-win32 index b5be83b..ec2e649 100755 --- a/build-win32 +++ b/build-win32 @@ -32,6 +32,11 @@ rm -Rf "${BUILDDIR}" #i586-mingw32msvc-strip "${INSTALLDIR}/bin/"*.exe || true #i586-mingw32msvc-strip "${INSTALLDIR}/lib/"*.dll || true +# Install pipi.exe +echo 'int main(int argc, char *argv[], char *envp[]) { argv[0] = ".\\bin\\pipi.exe"; execve(argv[0], argv, envp); return 0; }' > run.c +i586-mingw32msvc-gcc run.c -mwindows -o "${INSTALLDIR}/pipi.exe" +i586-mingw32msvc-strip "${INSTALLDIR}/pipi.exe" + # Install gtk-sharp cp -r "win32/gtksharp/"* "${INSTALLDIR}/" find "${INSTALLDIR}/" -name .svn -prune -exec rm -rf '{}' ';'