summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-08-18 10:14:33 +0200
committerSam James <sam@gentoo.org>2022-08-18 19:42:13 +0100
commitd6cecbf80a1279b77eaefb9f2b8fb213d77a6a90 (patch)
treed25dcb02940db2eb0e4067632e9def2b3e1522d8 /dev-libs/json-parser
parentapp-editors/vscode: fix sed (diff)
downloadgentoo-d6cecbf80a1279b77eaefb9f2b8fb213d77a6a90.tar.gz
gentoo-d6cecbf80a1279b77eaefb9f2b8fb213d77a6a90.tar.bz2
gentoo-d6cecbf80a1279b77eaefb9f2b8fb213d77a6a90.zip
dev-libs/json-parser: fix tests
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 <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/26908 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/json-parser')
-rw-r--r--dev-libs/json-parser/json-parser-1.1.0_p20211208.ebuild2
1 files changed, 1 insertions, 1 deletions
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