Skip to content

Commit

Permalink
add i1686-w64-mingw32 pkgconfig path when cross building, copy libusb…
Browse files Browse the repository at this point in the history
… dll for windows devkitARM
  • Loading branch information
Dave Murphy committed May 10, 2012
1 parent c970193 commit 471ea1e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build-devkit.sh
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 471ea1e

Please sign in to comment.