[openwrt/openwrt] policycoreutils: fix i18n depends

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 31 15:45:28 EDT 2020


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c2996ee26762081bdd2feedd44cd92047d65702e

commit c2996ee26762081bdd2feedd44cd92047d65702e
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Mon Aug 31 20:36:32 2020 +0100

    policycoreutils: fix i18n depends
    
    Fixes build error:
    load_policy.c:11:10: fatal error: libintl.h: No such file or directory
     #include <libintl.h>  /* for gettext() */
              ^~~~~~~~~~~
     compilation terminated.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/utils/policycoreutils/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/utils/policycoreutils/Makefile b/package/utils/policycoreutils/Makefile
index c82731b740..0cebec7ece 100644
--- a/package/utils/policycoreutils/Makefile
+++ b/package/utils/policycoreutils/Makefile
@@ -26,7 +26,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/policycoreutils
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:= +libsemanage +libcap-ng +BUSYBOX_CONFIG_PAM:libpam
+  DEPENDS:= +libsemanage +libcap-ng +BUSYBOX_CONFIG_PAM:libpam $(INTL_DEPENDS)
   TITLE:=SELinux policy utilities
   URL:=http://selinuxproject.org/page/Main_Page
   ALTERNATIVES:=\



More information about the lede-commits mailing list