From: Alexandru Ardelean Date: Wed, 29 Jul 2026 11:40:03 +0000 (+0300) Subject: libextractor: don't auto-link libapparmor X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b0057be11ef066d6798f3355be0169f4723b48a0;p=openwrt-packages.git libextractor: don't auto-link libapparmor When libapparmor installs headers and libraries for build, libextractor picks it up and fails with "missing dependencies libapparmor.so.1"). Disable it explicitly via configure. Fixes: https://github.com/openwrt/packages/pull/30068#issuecomment-5107754731 Fixes: 3253c6c9b ("apparmor: stage libapparmor headers via InstallDev") Signed-off-by: Alexandru Ardelean --- diff --git a/libs/libextractor/Makefile b/libs/libextractor/Makefile index c1a1b22d7..a9d2b9f25 100644 --- a/libs/libextractor/Makefile +++ b/libs/libextractor/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libextractor PKG_VERSION:=1.14 -PKG_RELEASE:=1 +PKG_RELEASE:=2 # ToDo: # - package missing optional dependencies: libexiv2, gsf, librpm, smf, tidy @@ -63,6 +63,9 @@ CONFIGURE_ARGS += \ --disable-rpath \ --with$(if $(CONFIG_PACKAGE_libextractor-plugin-gstreamer),,out)-gstreamer +CONFIGURE_VARS += \ + ac_cv_lib_apparmor_aa_change_profile=no + TARGET_CFLAGS += -D__GNU_LIBRARY__ define Package/libextractor