aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-08-29 11:21:40 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-08-29 11:21:40 +0800
commit53f1d10f089dd1bf155a95d0ba166728498972bb (patch)
treeeaa3000d8d22aa12a233ac665d1692c223f2f575 /gnu/packages
parentc061a7175df839ed4cbb06dc34ffee83130aac46 (diff)
downloadguix-53f1d10f089dd1bf155a95d0ba166728498972bb.tar
guix-53f1d10f089dd1bf155a95d0ba166728498972bb.tar.gz
gnu: uriparser: Fix cross-compilation.
* gnu/packages/web.scm (uriparser)[arguments]: When cross-compilation, Set -DURIPARSER_BUILD_TESTS=OFF. Change-Id: I003fbc37e82ed308998490b7bbba2aad6a0b7f55
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/web.scm4
1 files changed, 4 insertions, 0 deletions
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 <felix.lechner@lease-up.com>
;;; Copyright © 2023 Evgeny Pisemsky <mail@pisemsky.site>
;;; 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