diff --git a/_ci-linux-debian.sh b/_ci-linux-debian.sh index 9db75080c..dcb8d86e2 100755 --- a/_ci-linux-debian.sh +++ b/_ci-linux-debian.sh @@ -48,17 +48,21 @@ elif [[ "${CW_CONFIG:-}" = *'linux'* ]]; then fi else if [ "${CW_CCSUFFIX}" = '-15' ]; then + # ./my-pkg/usr/lib/clang/15/lib + # ./my-pkg/usr/lib/llvm-15/lib/clang/15.0.6/lib/linux/libclang_rt.builtins-aarch64.a if [ "$(uname -m)" = 'aarch64' ]; then dl="${dl} libclang-common${CW_CCSUFFIX}-dev:amd64" else dl="${dl} libclang-common${CW_CCSUFFIX}-dev:arm64" fi else + # ./my-pkg/usr/lib/llvm-16/lib/clang/16/lib/linux/libclang_rt.builtins-aarch64.a if [ "$(uname -m)" = 'aarch64' ]; then dl="${dl} libclang-rt${CW_CCSUFFIX}-dev:amd64" else dl="${dl} libclang-rt${CW_CCSUFFIX}-dev:arm64" fi + ln -s ./my-pkg/ fi fi # for openssl 'secure-memory' feature @@ -96,6 +100,9 @@ if [ -n "${dl}" ]; then apt-get --quiet 2 --option Dpkg::Use-Pty=0 download ${dl} # libclang-common-15-dev_1%3a15.0.6-4+b1_amd64.deb dpkg --extract ./*.deb my-pkg + if [ ! -d 'my-pkg/usr/lib/clang' ]; then + ln -s "my-pkg/usr/lib/llvm${CW_CCSUFFIX}/lib/clang" 'my-pkg/usr/lib/clang' + fi find . fi