flann: disallow static library build
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 13 May 2014 20:45:37 +0000 (22:45 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 13 May 2014 21:44:36 +0000 (23:44 +0200)
commit190b4e12b7ea2de783cf7ed54fa2207f45d66fa5
treea8b28bef50915a1e9f0334905e59b1d1149ae4bb
parent7f5fec620101dba2e97a08d7e61640aa39a3c3f0
flann: disallow static library build

Even though flann build system uses CMake, it always tries to build a
shared library, even if BUILD_SHARED_LIBS=OFF is passed. It could
probably be fixed in flann's CMakeLists.txt, but that's not really
worth the effort if upstream doesn't support it.

Therefore, we simply disallow the flann package in purely static
builds.

Fixes:

  http://autobuild.buildroot.org/results/a4e/a4ec0e9f28cd12ce770718fb407bbb4dc93b528b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/flann/Config.in