diff --git a/var/spack/repos/builtin/packages/fakexrandr/package.py b/var/spack/repos/builtin/packages/fakexrandr/package.py index 669e6d6578b..b0876ff877f 100644 --- a/var/spack/repos/builtin/packages/fakexrandr/package.py +++ b/var/spack/repos/builtin/packages/fakexrandr/package.py @@ -42,8 +42,8 @@ def edit(self, spec, prefix): # And tool used to generate skeleton filter_file('gcc', spack_cc, 'make_skeleton.py') - if 'platform=darwin' in spec: - makefile.filter('ldconfig', '') + # remove 'ldconfig' on all platforms + makefile.filter('ldconfig', '') # In Makefile, install commands check the target dir. # If it does not exist, process will stop.