summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/arm/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/arm/package.py b/var/spack/repos/builtin/packages/arm/package.py
index 01ed34cd65..2fab5e2d2d 100644
--- a/var/spack/repos/builtin/packages/arm/package.py
+++ b/var/spack/repos/builtin/packages/arm/package.py
@@ -78,7 +78,7 @@ class Arm(Package):
conflicts("target=x86_64:", msg="Only available on Aarch64")
conflicts("target=ppc64:", msg="Only available on Aarch64")
conflicts("target=ppc64le:", msg="Only available on Aarch64")
-
+ depends_on("ncurses abi=5")
executables = [r"armclang", r"armclang\+\+", r"armflang"]
# Licensing - Not required from 22.0.1 on.
@@ -149,3 +149,5 @@ class Arm(Package):
env.prepend_path("CPATH", join_path(arm_dir, "include"))
env.prepend_path("MANPATH", join_path(arm_dir, "share", "man"))
env.prepend_path("ARM_LICENSE_DIR", join_path(self.prefix, "licences"))
+ if "ncurses" in self.spec:
+ env.prepend_path("LD_LIBRARY_PATH", join_path(self.spec["ncurses"].prefix, "lib"))