From: Rosen Penev Date: Fri, 17 Oct 2025 22:06:06 +0000 (-0700) Subject: libextractor: fix compilation with gcc15 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2fab8e34c22a843893f31afb35714433988b09d5;p=openwrt-packages.git libextractor: fix compilation with gcc15 GNU_LIBRARY is needed for a proper declaration of getopt. Signed-off-by: Rosen Penev --- diff --git a/libs/libextractor/Makefile b/libs/libextractor/Makefile index c298c0d1a..4e096ecc9 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