浏览代码

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>
Rahul Bedarkar 9 年之前
父节点
当前提交
0d68771e54
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      package/libconfuse/libconfuse.mk

+ 4 - 0
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))