add i1686-w64-mingw32 pkgconfig path when cross building, copy libusb dll for windows devkitARM

This commit is contained in:
Dave Murphy 2012-05-10 12:59:39 +01:00
parent c970193166
commit 471ea1e10e

View File

@ -153,6 +153,10 @@ else
prefix=$INSTALLDIR/$package
fi
if [ "$CROSSBUILD" = "i686-w64-mingw32" ]; then
export PKG_CONFIG_PATH=/opt/i686-w64-mingw32/mingw/lib/pkgconfig
fi
if [ "$BUILD_DKPRO_AUTOMATED" != "1" ] ; then
echo
@ -261,6 +265,9 @@ if [ "$CROSSBUILD" = "i686-w64-mingw32" ]; then
if [ $VERSION -ne 3 ]; then
cp -v /opt/i686-w64-mingw32/mingw/lib/FreeImage.dll $prefix/bin
fi
if [ $VERSION -eq 1 ]; then
cp -v /opt/i686-w64-mingw32/i686-w64-mingw32/bin/libusb-1.0.dll $prefix/bin
fi
cp -v /opt/i686-w64-mingw32/mingw/lib/libstdc++-6.dll \
/opt/i686-w64-mingw32/mingw/lib/libgcc_s_sjlj-1.dll \
$prefix/bin