mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-22 01:54:32 -05:00
add i1686-w64-mingw32 pkgconfig path when cross building, copy libusb dll for windows devkitARM
This commit is contained in:
parent
c970193166
commit
471ea1e10e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user