summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2016-08-04 14:14:08 -0400
committerGeorge Hartzell <hartzell@alerce.com>2016-08-06 16:28:47 -0400
commit9ebbde0e0100b8a9c077d6cb1e67fe7a6b2ec2ec (patch)
treeabbaa9b26cf161a47122d758e0b6b295f951438a
parent1de5817b58553461bfb1ffe39146a31f588a6df8 (diff)
downloadspack-9ebbde0e0100b8a9c077d6cb1e67fe7a6b2ec2ec.tar.gz
spack-9ebbde0e0100b8a9c077d6cb1e67fe7a6b2ec2ec.tar.bz2
spack-9ebbde0e0100b8a9c077d6cb1e67fe7a6b2ec2ec.tar.xz
spack-9ebbde0e0100b8a9c077d6cb1e67fe7a6b2ec2ec.zip
Make configure use our gettext library
The configure script needs extra encouragement to link against our gettext/libintl library.
-rw-r--r--var/spack/repos/builtin/packages/git/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/git/package.py b/var/spack/repos/builtin/packages/git/package.py
index e975da5e79..3cc879088d 100644
--- a/var/spack/repos/builtin/packages/git/package.py
+++ b/var/spack/repos/builtin/packages/git/package.py
@@ -57,6 +57,7 @@ class Git(Package):
depends_on("perl")
def install(self, spec, prefix):
+ env['LDFLAGS'] = "-L%s" % spec['gettext'].prefix.lib + " -lintl"
configure_args = [
"--prefix=%s" % prefix,
"--with-libpcre=%s" % spec['pcre'].prefix,