From 18470e9b20c1d1111b28df9d04d642885a76e3bc Mon Sep 17 00:00:00 2001 From: Teodoro Laino Date: Thu, 8 Jan 2026 10:15:41 +0100 Subject: [PATCH] Remove literal single quotes from LDFLAGS to fix path resolution and directory lookup. --- tools/toolchain/scripts/stage4/install_scalapack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/toolchain/scripts/stage4/install_scalapack.sh b/tools/toolchain/scripts/stage4/install_scalapack.sh index 829140d5b6..e06428fe7d 100755 --- a/tools/toolchain/scripts/stage4/install_scalapack.sh +++ b/tools/toolchain/scripts/stage4/install_scalapack.sh @@ -70,7 +70,7 @@ case "$with_scalapack" in popd > /dev/null write_checksums "${install_lock_file}" "${SCRIPT_DIR}/stage4/$(basename ${SCRIPT_NAME})" fi - SCALAPACK_LDFLAGS="-L'${pkg_install_dir}/lib' -Wl,-rpath,'${pkg_install_dir}/lib'" + SCALAPACK_LDFLAGS="-L${pkg_install_dir}/lib -Wl,-rpath,${pkg_install_dir}/lib" ;; __SYSTEM__) echo "==================== Finding ScaLAPACK from system paths ====================" @@ -83,7 +83,7 @@ case "$with_scalapack" in echo "==================== Linking ScaLAPACK to user paths ====================" pkg_install_dir="$with_scalapack" check_dir "${pkg_install_dir}/lib" - SCALAPACK_LDFLAGS="-L'${pkg_install_dir}/lib' -Wl,-rpath,'${pkg_install_dir}/lib'" + SCALAPACK_LDFLAGS="-L${pkg_install_dir}/lib -Wl,-rpath,${pkg_install_dir}/lib" ;; esac if [ "$with_scalapack" != "__DONTUSE__" ]; then