Bläddra i källkod

build-win32: pass script arguments to configure, to allow --disable-shared.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2863 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam 16 år sedan
förälder
incheckning
c17a2413ea
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. +3
    -3
      build-win32

+ 3
- 3
build-win32 Visa fil

@@ -20,7 +20,7 @@ make distclean || true

cd "${BUILDDIR}"
# Build for win32
"${SRCDIR}/configure" --host=i586-mingw32msvc --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc
"${SRCDIR}/configure" --host=i586-mingw32msvc --prefix=/ --bindir=/bin --libdir=/lib "$@"
make pkglibdir=/lib pkgdatadir=/data bindir=/bin
# Install into our private directory
make install DESTDIR="${INSTALLDIR}" pkglibdir=/lib/ pkgdatadir=/ bindir=/bin/
@@ -29,8 +29,8 @@ rm -Rf "${BUILDDIR}"

mv "${INSTALLDIR}/bin/"* "${INSTALLDIR}/"
mv "${INSTALLDIR}/lib/"* "${INSTALLDIR}/"
i586-mingw32msvc-strip "${INSTALLDIR}/"*.exe
i586-mingw32msvc-strip "${INSTALLDIR}/"*.dll
i586-mingw32msvc-strip "${INSTALLDIR}/"*.exe || true
i586-mingw32msvc-strip "${INSTALLDIR}/"*.dll || true
rmdir "${INSTALLDIR}/bin"
rmdir "${INSTALLDIR}/lib"



Laddar…
Avbryt
Spara