mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user