package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples

The examples require libstdc++.so.6 so add the required dependency to
the Config.in.

  ./tiger: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 3d78dbace2)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Heiko Thiery 2021-05-20 08:54:29 +02:00 committed by Peter Korsgaard
parent 094f0bbe6b
commit 1d62023aea

View File

@ -83,11 +83,17 @@ config BR2_PACKAGE_PROVIDES_LIBOPENVG
config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
bool "install examples"
# example binaries are linked against libstdc++.so.6
depends on BR2_INSTALL_LIBSTDCPP
help
Copy the Vivante examples to the target.
Warning: examples take approximately 150 MB of disk space.
comment "imx-gpu-viv-examples need a toolchain w/ C++ support"
depends on !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
bool "install gmem_info tool"
help