From c17a2413ea5f0fe484c25b6dab6be0b9b3922286 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 1 Oct 2008 20:20:50 +0000 Subject: [PATCH] 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 --- build-win32 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-win32 b/build-win32 index ced77ae..7e55196 100755 --- a/build-win32 +++ b/build-win32 @@ -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"