From 53f1d10f089dd1bf155a95d0ba166728498972bb Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Thu, 29 Aug 2024 11:21:40 +0800 Subject: gnu: uriparser: Fix cross-compilation. * gnu/packages/web.scm (uriparser)[arguments]: When cross-compilation, Set -DURIPARSER_BUILD_TESTS=OFF. Change-Id: I003fbc37e82ed308998490b7bbba2aad6a0b7f55 --- gnu/packages/web.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index ec2d4af322..0b5e6ff17e 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -66,6 +66,7 @@ ;;; Copyright © 2023 Felix Lechner ;;; Copyright © 2023 Evgeny Pisemsky ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> +;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -9361,6 +9362,9 @@ tools: "0qr3rc0iz1zxim1ylwzf7zijgnxpzv4m35fzvv5kf66a8bqhrw2k")))) (build-system cmake-build-system) (native-inputs (list googletest doxygen graphviz)) + (arguments (if (%current-target-system) + (list #:configure-flags #~(list "-DURIPARSER_BUILD_TESTS=OFF")) + '())) (synopsis "Strictly RFC 3986 compliant URI parsing and handling library") (description "uriparser is a strictly RFC 3986 compliant URI parsing and handling library written in C89 (\"ANSI C\"). uriparser is fast and supports -- cgit v1.2.3