From 5802875403d04bcf3767b969e51d7ea25e60c03e Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 29 Sep 2008 23:03:34 +0000 Subject: [PATCH] Fix the Win32 build. --- build-win32 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-win32 b/build-win32 index 90d95c7..fde24a9 100755 --- a/build-win32 +++ b/build-win32 @@ -16,9 +16,11 @@ rm -f "${INSTALLDIR}.zip" mkdir "${INSTALLDIR}" mkdir "${BUILDDIR}" +make distclean || true + cd "${BUILDDIR}" # Build for win32 -"${SRCDIR}/configure" --host=i586-mingw32msvc --program-suffix=.exe --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc +"${SRCDIR}/configure" --host=i586-mingw32msvc --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc make pkglibdir=/lib pkgdatadir=/data bindir=/bin # Install into our private directory make install DESTDIR="${INSTALLDIR}" pkglibdir=/lib/ pkgdatadir=/ bindir=/bin/