From d6cecbf80a1279b77eaefb9f2b8fb213d77a6a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Thu, 18 Aug 2022 10:14:33 +0200 Subject: dev-libs/json-parser: fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is necessary to link the test with libm. Fixes: 3d84addb0089 ("dev-libs/json-parser: new package, add 1.1.0_p20211208") Closes: https://bugs.gentoo.org/865669 Signed-off-by: Petr Vaněk Closes: https://github.com/gentoo/gentoo/pull/26908 Signed-off-by: Sam James --- dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev-libs/json-parser') diff --git a/dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild b/dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild index a551d83b795c..6fd9ed14039b 100644 --- a/dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild +++ b/dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild @@ -68,7 +68,7 @@ python_test() { } src_test() { - edo $(tc-getCC) ${CFLAGS} -I. ${CPPFLAGS} ${LDFLAGS} -o tests/test tests/test.c json.o + edo $(tc-getCC) ${CFLAGS} -I. ${CPPFLAGS} ${LDFLAGS} -o tests/test tests/test.c json.o -lm pushd tests > /dev/null || die edo ./test use python && distutils-r1_src_test -- cgit v1.2.3