Skip to content

Commit 2e9c460

Browse files
committed
only need 1 dll
1 parent 8092439 commit 2e9c460

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build-devkit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ if [ "$BUILD_DKPRO_SKIP_LIBRARIES" != "1" ] && [ -f $scriptdir/build-libs.sh ];
294294
. $scriptdir/build-libs.sh || { echo "Error building libraries"; exit 1; }; cd $BUILDSCRIPTDIR;
295295
fi
296296

297-
if [ ! -z $CROSSBUILD ]; then
298-
cp -v $CROSSBINPATH/*.dll $CROSSLIBPATH/*.dll $prefix/bin
297+
if [ ! -z $CROSSBUILD ] && grep -q "mingw" <<<"$CROSSBUILD" ; then
298+
cp -v $CROSSBINPATH//libwinpthread-1.dll $prefix/bin
299299
fi
300300

301301
echo "stripping installed binaries"

0 commit comments

Comments
 (0)