[Buildroot] [git commit] gdbm: handle optional dependency gettext

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jun 30 12:15:17 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=9869ac57ea86f78b44a0eb8622772196726ac08d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/gdbm/gdbm.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/package/gdbm/gdbm.mk b/package/gdbm/gdbm.mk
index 12e1dac..f7a4370 100644
--- a/package/gdbm/gdbm.mk
+++ b/package/gdbm/gdbm.mk
@@ -10,4 +10,8 @@ GDBM_LICENSE = GPLv3+
 GDBM_LICENSE_FILES = COPYING
 GDBM_INSTALL_STAGING = YES
 
+ifeq ($(BR2_PACKAGE_GETTEXT),y)
+GDBM_DEPENDENCIES += gettext
+endif
+
 $(eval $(autotools-package))


More information about the buildroot mailing list