libextractor: fix compilation with gcc15

GNU_LIBRARY is needed for a proper declaration of getopt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2025-10-17 15:06:06 -07:00
committed by Hannu Nyman
parent 6d57246e48
commit 2fab8e34c2

View File

@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libextractor PKG_NAME:=libextractor
PKG_VERSION:=1.13 PKG_VERSION:=1.13
PKG_RELEASE:=1 PKG_RELEASE:=2
# ToDo: # ToDo:
# - package missing optional dependencies: libexiv2, gsf, librpm, smf, tidy # - package missing optional dependencies: libexiv2, gsf, librpm, smf, tidy
@@ -62,6 +62,8 @@ CONFIGURE_ARGS += \
--disable-rpath \ --disable-rpath \
--with$(if $(CONFIG_PACKAGE_libextractor-plugin-gstreamer),,out)-gstreamer --with$(if $(CONFIG_PACKAGE_libextractor-plugin-gstreamer),,out)-gstreamer
TARGET_CFLAGS += -D__GNU_LIBRARY__
define Package/libextractor define Package/libextractor
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries