policycoreutils: fix i18n depends
authorDaniel Golle <daniel@makrotopia.org>
Mon, 31 Aug 2020 19:36:32 +0000 (20:36 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 31 Aug 2020 19:45:14 +0000 (20:45 +0100)
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@makrotopia.org>
package/utils/policycoreutils/Makefile

index c82731b740c3c2f8afe75afb54c4482ee621cb38..0cebec7ece1296bada55c87bf7cb3b41c66ccb9b 100644 (file)
@@ -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:=\