* [Buildroot] [PATCH 1/1] package/libcodec2: disable unittest
@ 2017-08-02 16:52 Bernd Kuhls
2017-08-02 17:07 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2017-08-02 16:52 UTC (permalink / raw)
To: buildroot
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>
---
package/libcodec2/libcodec2.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libcodec2/libcodec2.mk b/package/libcodec2/libcodec2.mk
index 38ecac164..7d1c6c383 100644
--- a/package/libcodec2/libcodec2.mk
+++ b/package/libcodec2/libcodec2.mk
@@ -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
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-02 17:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-02 16:52 [Buildroot] [PATCH 1/1] package/libcodec2: disable unittest Bernd Kuhls
2017-08-02 17:07 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox