[Buildroot] [PATCH 1/1] package/gerbera: disable with header-only pugixml
Fabrice Fontaine
fontaine.fabrice at gmail.com
Mon Feb 27 17:15:48 UTC 2023
Fix the following build failure with header-only pugixml raised since
commit cc3a4a7b1de7b158354c650d234339e8a969a730:
/home/thomas/autobuild/instance-2/output-1/host/lib/gcc/nios2-buildroot-linux-gnu/10.4.0/../../../../nios2-buildroot-linux-gnu/bin/ld: CMakeFiles/gerbera.dir/src/main.cc.o: in function `ConfigGenerator::~ConfigGenerator()':
/home/thomas/autobuild/instance-2/output-1/build/gerbera-1.10.0/src/config/config_generator.h:33: undefined reference to `pugi::xml_document::~xml_document()'
Fixes:
- http://autobuild.buildroot.org/results/800537a1ef5f48d24c20aad7a9c96c56dfdc77f5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/gerbera/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/gerbera/Config.in b/package/gerbera/Config.in
index 46a163ec78..e1f09e6780 100644
--- a/package/gerbera/Config.in
+++ b/package/gerbera/Config.in
@@ -7,6 +7,7 @@ config BR2_PACKAGE_GERBERA
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR # fmt
+ depends on !BR2_PACKAGE_PUGIXML_HEADER_ONLY
select BR2_PACKAGE_FMT
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBUPNP if !BR2_PACKAGE_LIBNPUPNP
@@ -32,3 +33,6 @@ comment "gerbera needs a toolchain w/ C++, dynamic library, threads, wchar, gcc
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_8
+
+comment "gerbera can't be built with header-only pugixml"
+ depends on BR2_PACKAGE_PUGIXML_HEADER_ONLY
--
2.39.1
More information about the buildroot
mailing list