Browse Source

Add a launcher for pipi.exe in the Win32 package.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3096 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam 16 years ago
parent
commit
2a2f197bf5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      build-win32

+ 5
- 0
build-win32 View File

@@ -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 '{}' ';'


Loading…
Cancel
Save