diff options
author | Rahul Bedarkar <rahul.bedarkar@imgtec.com> | 2016-08-18 23:54:37 +0530 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-18 23:30:50 +0200 |
commit | 0d68771e5493442443db3956b85ec0083f5facf4 (patch) | |
tree | 3de296616b7d2c2055ae4600ab174a84707c7701 | |
parent | 834ae8ce82fca7156e09fac5182fac4dbf8ebdf9 (diff) | |
download | buildroot-0d68771e5493442443db3956b85ec0083f5facf4.tar.gz buildroot-0d68771e5493442443db3956b85ec0083f5facf4.zip |
libconfuse: add optional dependency on gettext
When available, libconfuse will use the libintl provided by the gettext
package.
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas: make it really an optional dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/libconfuse/libconfuse.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libconfuse/libconfuse.mk b/package/libconfuse/libconfuse.mk index fea90f1b09..2908af3292 100644 --- a/package/libconfuse/libconfuse.mk +++ b/package/libconfuse/libconfuse.mk @@ -14,5 +14,9 @@ HOST_LIBCONFUSE_DEPENDENCIES = host-flex LIBCONFUSE_LICENSE = ISC LIBCONFUSE_LICENSE_FILES = LICENSE +ifeq ($(BR2_PACKAGE_GETTEXT),y) +LIBCONFUSE_DEPENDENCIES += gettext +endif + $(eval $(autotools-package)) $(eval $(host-autotools-package)) |