summaryrefslogtreecommitdiff
path: root/user/spack/openssl-explicit-linux-headers.patch
blob: 763be9df33ded511fcc662c5ded00b3bd8629851 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py
index 21b076856a..e73c60a7c1 100644
--- a/var/spack/repos/builtin/packages/openssl/package.py
+++ b/var/spack/repos/builtin/packages/openssl/package.py
@@ -380,6 +380,7 @@ class Openssl(Package):  # Uses Fake Autotools, should subclass Package
     depends_on("perl@5.14.0:", type=("build", "test"))
     depends_on("ca-certificates-mozilla", type="build", when="certs=mozilla")
     depends_on("nasm", when="platform=windows")
+    depends_on("linux-headers", when="platform=linux")
 
     patch(
         "https://github.com/openssl/openssl/commit/f9e578e720bb35228948564192adbe3bc503d5fb.patch?full_index=1",