Ignore:
Timestamp:
Oct 23, 2008, 5:44:51 PM (12 years ago)
Author:
Sam Hocevar
Message:

libpipi: improve GDI+ codec cross-compilation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/build-win32

    r3074 r3076  
    2626# Install into our private directory
    2727make install DESTDIR="${INSTALLDIR}" pkglibdir=/lib/ pkgdatadir=/ bindir=/bin/
    28 # Create a launcher
    29 echo 'int main(int argc, char *argv[], char *envp[]) { argv[0] = ".\\bin\\ThePimp.exe"; execve(argv[0], argv, envp); return 0; }' > run.c
    30 i586-mingw32msvc-gcc run.c -mwindows -o "${INSTALLDIR}/ThePimp.exe"
    31 i586-mingw32msvc-strip "${INSTALLDIR}/ThePimp.exe"
    3228# Clean up
    3329cd "${SRCDIR}"
     
    4541rm -Rf "${INSTALLDIR}/lib/mono"
    4642
     43# Install The Pimp
     44mv "${INSTALLDIR}/lib/ThePimp.exe" "${INSTALLDIR}/bin/"
     45echo 'int main(int argc, char *argv[], char *envp[]) { argv[0] = ".\\bin\\ThePimp.exe"; execve(argv[0], argv, envp); return 0; }' > run.c
     46i586-mingw32msvc-gcc run.c -mwindows -o "${INSTALLDIR}/ThePimp.exe"
     47i586-mingw32msvc-strip "${INSTALLDIR}/ThePimp.exe"
     48
     49# Install documentation
    4750mkdir "${INSTALLDIR}/doc"
    4851for f in COPYING NOTES; do
Note: See TracChangeset for help on using the changeset viewer.