diff --git a/contrib/cross-build.sh b/contrib/cross-build.sh index 0aeb444395..35b6526c8a 100755 --- a/contrib/cross-build.sh +++ b/contrib/cross-build.sh @@ -155,11 +155,11 @@ fi # ftd2xx copy to sysroot if [ -d $FTD2XX_SRC ] ; then - FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/amd64/ + FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/amd64 if [[ "$HOST_TRIPLET" == *"w32"* ]] ; then - FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/i386/ + FTD2XX_LIB_SRC=${FTD2XX_SRC}/Static/i386 fi - cp -f ${FTD2XX_LIB_SRC}/* $SYSROOT/lib/ + cp -f ${FTD2XX_LIB_SRC}/* $SYSROOT/usr/lib/ fi # OpenOCD build & install into sysroot