Skip to content

Commit

Permalink
Update cross-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fanghuaqi authored Jan 25, 2024
1 parent 8b44305 commit e62d683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/cross-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ fi

# ftd2xx copy to sysroot
if [ -d $FTD2XX_SRC ] ; then
FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/amd64
FTD2XX_LIB_SRC=${FTD2XX_SRC}/amd64
if [[ "$HOST_TRIPLET" == *"w32"* ]] ; then
FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/i386
FTD2XX_LIB_SRC=${FTD2XX_SRC}/i386
fi
cp -f ${FTD2XX_LIB_SRC}/* $SYSROOT/usr/lib/
fi
Expand Down

0 comments on commit e62d683

Please sign in to comment.