Remove literal single quotes from LDFLAGS to fix path resolution and directory lookup.

This commit is contained in:
Teodoro Laino 2026-01-08 10:15:41 +01:00 committed by Ole Schütt
parent d7d97efce9
commit 18470e9b20

View file

@ -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