From b106c86fa33d5f4296389071ad4cd5fdd5c389df Mon Sep 17 00:00:00 2001 From: healther Date: Tue, 6 Mar 2018 18:08:51 +0100 Subject: [PATCH] Fix apr pick up of log4cxx (#7347) --- var/spack/repos/builtin/packages/log4cxx/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/log4cxx/package.py b/var/spack/repos/builtin/packages/log4cxx/package.py index b2bf7a4e35..eda990b590 100644 --- a/var/spack/repos/builtin/packages/log4cxx/package.py +++ b/var/spack/repos/builtin/packages/log4cxx/package.py @@ -43,5 +43,8 @@ class Log4cxx(AutotoolsPackage): patch('log4cxx-0.10.0-narrowing-fixes-from-upstream.patch') def configure_args(self): - args = ['--disable-static'] + args = ['--disable-static', + # 'apr''s 'bin' isn't pulled (via apr-util) into build env + '--with-apr={0}'.format(self.spec['apr'].prefix)] + return args