]> git.99rst.org Git - openwrt-packages.git/commitdiff
libextractor: don't auto-link libapparmor
authorAlexandru Ardelean <redacted>
Wed, 29 Jul 2026 11:40:03 +0000 (14:40 +0300)
committerAlexandru Ardelean <redacted>
Wed, 29 Jul 2026 18:34:47 +0000 (21:34 +0300)
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 <redacted>
libs/libextractor/Makefile

index c1a1b22d71cea5c1c3389f3bbdbfe326793466a6..a9d2b9f2584d3b1b0e1252d4d93534e411a625c9 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT