diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/getting_started.rst | 2 | ||||
-rw-r--r-- | lib/spack/spack/spec.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst index 1bf99e09b3..0c30c9a694 100644 --- a/lib/spack/docs/getting_started.rst +++ b/lib/spack/docs/getting_started.rst @@ -1704,9 +1704,11 @@ dependencies or incompatible build tools like autoconf. Here are several packages known to work on Windows: * abseil-cpp +* bzip2 * clingo * cpuinfo * cmake +* hdf5 * glm * nasm * netlib-lapack (requires Intel Fortran) diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index 401be97858..5c688d916f 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -1089,7 +1089,7 @@ def _libs_default_handler(descriptor, spec, cls): home = getattr(spec.package, "home") # Avoid double 'lib' for packages whose names already start with lib - if not name.startswith("lib"): + if not name.startswith("lib") and not spec.satisfies("platform=windows"): name = "lib" + name # If '+shared' search only for shared library; if '~shared' search only for |