From 2fab8e34c22a843893f31afb35714433988b09d5 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 17 Oct 2025 15:06:06 -0700 Subject: [PATCH] libextractor: fix compilation with gcc15 GNU_LIBRARY is needed for a proper declaration of getopt. Signed-off-by: Rosen Penev --- libs/libextractor/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/libextractor/Makefile b/libs/libextractor/Makefile index c298c0d1ae..4e096ecc92 100644 --- a/libs/libextractor/Makefile +++ b/libs/libextractor/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libextractor PKG_VERSION:=1.13 -PKG_RELEASE:=1 +PKG_RELEASE:=2 # ToDo: # - package missing optional dependencies: libexiv2, gsf, librpm, smf, tidy @@ -62,6 +62,8 @@ CONFIGURE_ARGS += \ --disable-rpath \ --with$(if $(CONFIG_PACKAGE_libextractor-plugin-gstreamer),,out)-gstreamer +TARGET_CFLAGS += -D__GNU_LIBRARY__ + define Package/libextractor SECTION:=libs CATEGORY:=Libraries -- 2.30.2