package/libcodec2: disable unittest
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 2 Aug 2017 16:52:17 +0000 (18:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 2 Aug 2017 17:07:22 +0000 (19:07 +0200)
Quoting
https://svn.code.sf.net/p/freetel/code/codec2-dev/CMakeLists.txt
"# Unittest should be on for dev builds and off for releases."

If unittest is enabled libcodec2 depends on speex and libsamplerate.
To avoid these dependencies we simply disable unittest.

Fixes
http://autobuild.buildroot.net/results/da2/da2b6402c8fabd85a9ee728e8dbf7b78c5aa801e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libcodec2/libcodec2.mk

index 38ecac164f7c7f0a13ca43ae68ceb545566aed0a..7d1c6c3839294904d163c30d34c3c907268e3595 100644 (file)
@@ -11,6 +11,7 @@ LIBCODEC2_LICENSE = LGPL-2.1
 LIBCODEC2_LICENSE_FILES = COPYING
 LIBCODEC2_INSTALL_STAGING = YES
 LIBCODEC2_SUPPORTS_IN_SOURCE_BUILD = NO
+LIBCODEC2_CONF_OPTS = -DUNITTEST=OFF
 
 ifeq ($(BR2_PACKAGE_LIBCODEC2_EXAMPLES),y)
 LIBCODEC2_CONF_OPTS += -DINSTALL_EXAMPLES=ON