diff --git a/var/spack/repos/builtin/packages/py-shapely/package.py b/var/spack/repos/builtin/packages/py-shapely/package.py index 700dcbf83a..099c1649b5 100644 --- a/var/spack/repos/builtin/packages/py-shapely/package.py +++ b/var/spack/repos/builtin/packages/py-shapely/package.py @@ -66,6 +66,12 @@ def setup_build_environment(self, env): else: env.prepend_path('LD_LIBRARY_PATH', libs) + def setup_run_environment(self, env): + self.setup_build_environment(env) + + def setup_dependent_build_environment(self, env, dependent_spec): + self.setup_build_environment(env) + @run_after('install') @on_package_attributes(run_tests=True) def test_install(self):