From: Francois Perrad Date: Wed, 27 May 2015 19:39:39 +0000 (+0200) Subject: gdbm: handle optional dependency gettext X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9869ac57ea86f78b44a0eb8622772196726ac08d;p=buildroot.git gdbm: handle optional dependency gettext Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- diff --git a/package/gdbm/gdbm.mk b/package/gdbm/gdbm.mk index 12e1dac6c1..f7a437007c 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))