gdbm: handle optional dependency gettext
authorFrancois Perrad <fperrad@gmail.com>
Wed, 27 May 2015 19:39:39 +0000 (21:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 Jun 2015 12:15:17 +0000 (14:15 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdbm/gdbm.mk

index 12e1dac6c1ba010ae35fcc0330949a6212e8e9de..f7a437007c92ae5351a6e6e5af95de87d4c53013 100644 (file)
@@ -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))