diff --git a/package/flann/Config.in b/package/flann/Config.in index 4b0b5a8cf..6185b1292 100644 --- a/package/flann/Config.in +++ b/package/flann/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_FLANN bool "flann" depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_PREFER_STATIC_LIB help FLANN is a library for performing fast approximate nearest neighbor searches in high dimensional spaces. It contains a @@ -20,5 +21,5 @@ config BR2_PACKAGE_FLANN_EXAMPLES endif -comment "flann needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP +comment "flann needs a toolchain w/ C++, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_PREFER_STATIC_LIB