diff options
-rw-r--r-- | var/spack/repos/builtin/packages/openssl/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py index 3151fb4c91..2a549ec73c 100644 --- a/var/spack/repos/builtin/packages/openssl/package.py +++ b/var/spack/repos/builtin/packages/openssl/package.py @@ -163,6 +163,12 @@ class Openssl(Package): # Uses Fake Autotools, should subclass Package mkdirp(pkg_dir) for directory in system_dirs: + # Link configuration file + sys_conf = join_path(directory, 'openssl.cnf') + pkg_conf = join_path(pkg_dir, 'openssl.cnf') + if os.path.exists(sys_conf) and not os.path.exists(pkg_conf): + os.symlink(sys_conf, pkg_conf) + sys_cert = join_path(directory, 'cert.pem') pkg_cert = join_path(pkg_dir, 'cert.pem') # If a bundle exists, use it. This is the preferred way on Fedora, |