gettext-full: disable SELinux support in host tools

The host configure script can detect libselinux in staging_dir/hostpkg
when libselinux/host has already been built. This links msgfmt against
libselinux.so.1 without a runtime search path to the staging directory,
causing translation builds such as util-linux to fail on hosts without
a system libselinux.

Pass --without-selinux to avoid this optional dependency and keep the
host tools independent of whether libselinux/host was built earlier.

Rebuilt gettext-full/host and util-linux successfully.

Link: https://github.com/openwrt/openwrt/pull/26843
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens committed 2026-11-21 20:52:47 +01:00
1 parent 73c3e16bac
commit 0ac151eb8d
1 file changed
+1
+1
View File
@@ -102,6 +102,7 @@ HOST_CONFIGURE_ARGS += \
--disable-java \
--disable-openmp \
--without-emacs \
--without-selinux \
--with-libiconv-prefix=$(STAGING_DIR_HOSTPKG) \
--with-libunistring-prefix=$(STAGING_DIR_HOSTPKG) \
--with-libxml2-prefix=$(STAGING_DIR_HOSTPKG)