From 079af46983ae0d792ccbb94cdbefbe03fb58fd95 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Wed, 16 Jul 2025 22:45:08 +0200 Subject: [PATCH] Always copy all scripts regardless of target platform --- build.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 64dcdbd..eb16708 100755 --- a/build.sh +++ b/build.sh @@ -352,11 +352,9 @@ xtchain_build() case "${SYSTEM_NAME}" in Windows) CCOMPILER="${SYSTEM_HOST}-gcc" - EXTENSION=".ps1" ;; *) CCOMPILER="clang" - EXTENSION="" esac # Build XTchain tools @@ -368,8 +366,8 @@ xtchain_build() ${CCOMPILER} ${WRKDIR}/tools/${EXEC}.c -o ${BINDIR}/bin/${EXEC} fi done - cp ${WRKDIR}/scripts/xtclib${EXTENSION} ${BINDIR}/lib/xtchain/ - cp ${WRKDIR}/scripts/xtchain${EXTENSION} ${BINDIR}/ + cp ${WRKDIR}/scripts/xtclib* ${BINDIR}/lib/xtchain/ + cp ${WRKDIR}/scripts/xtchain* ${BINDIR}/ } # This function generates XTCHAIN version file and produces tarball archive