summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libxpm/package.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/libxpm/package.py b/var/spack/repos/builtin/packages/libxpm/package.py
index e4ae82710a..7cc339f92c 100644
--- a/var/spack/repos/builtin/packages/libxpm/package.py
+++ b/var/spack/repos/builtin/packages/libxpm/package.py
@@ -26,6 +26,6 @@ class Libxpm(AutotoolsPackage):
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
-# def setup_environment(self, spack_env, run_env):
-# spack_env.append_flags('LDFLAGS', '-L{0} -lintl'.format(
-# self.spec['gettext'].prefix.lib))
+ def setup_environment(self, spack_env, run_env):
+ spack_env.append_flags('LDFLAGS', '-L{0} -lintl'.format(
+ self.spec['gettext'].prefix.lib))