mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
Remove literal single quotes from LDFLAGS to fix path resolution and directory lookup.
This commit is contained in:
parent
d7d97efce9
commit
18470e9b20
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue