buildroot/package/libgdiplus/Config.in
Fabrice Fontaine cb92494405 package/libgdiplus: needs C++
Unfortunately, libgdiplus unconditionally calls AC_PROG_CXX since
version 6.1 for google-based tests resulting in the following build
failure without C++ since commit
5b6dd17b86 and
4f98022306:

checking whether the C++ compiler works... no
configure: error: in `/home/thomas/autobuild/instance-3/output-1/build/libgdiplus-6.1':
configure: error: C++ compiler cannot create executables

Fixes:
 - http://autobuild.buildroot.org/results/3757921a2160ca209089a0b47414a445cc42e35e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-29 22:26:32 +01:00

22 lines
658 B
Plaintext

config BR2_PACKAGE_LIBGDIPLUS
bool "libgdiplus"
depends on BR2_PACKAGE_XORG7
depends on BR2_USE_WCHAR # libglib2 -> gettext
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # libglib2
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_XLIB_LIBXFT
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_LIBPNG
help
An Open Source implementation of the GDI+ API.
https://github.com/mono/libgdiplus
comment "libgdiplus needs a toolchain w/ wchar, threads, C++"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_XORG7
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_INSTALL_LIBSTDCPP