summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-03-12 13:43:14 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-12 14:10:35 +0100
commitaecab2f29c396a04d24e61479d7fc3f53149448f (patch)
treeba0ac84dd123c416ebe90e724a2eb02b4c18034e
parent1d577f33df525677156f4dc929319fb21cb86ac8 (diff)
downloadbuildroot-aecab2f29c396a04d24e61479d7fc3f53149448f.tar.gz
buildroot-aecab2f29c396a04d24e61479d7fc3f53149448f.zip
package/git: add optional support for gettext
git links to libintl if available: $ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/bin/git | grep NEEDED 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libintl.so.8] 0x00000001 (NEEDED) Shared library: [libc.so.0] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/git/git.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/git/git.mk b/package/git/git.mk
index 1d70924ae8..138a8b6038 100644
--- a/package/git/git.mk
+++ b/package/git/git.mk
@@ -11,6 +11,10 @@ GIT_LICENSE = GPLv2, LGPLv2.1+
GIT_LICENSE_FILES = COPYING LGPL-2.1
GIT_DEPENDENCIES = zlib host-gettext
+ifeq ($(BR2_PACKAGE_GETTEXT),y)
+GIT_DEPENDENCIES += gettext
+endif
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
GIT_DEPENDENCIES += openssl
GIT_CONF_OPTS += --with-openssl
OpenPOWER on IntegriCloud