~ruther/guix-local

53f1d10f089dd1bf155a95d0ba166728498972bb — Zheng Junjie 1 year, 9 months ago c061a71
gnu: uriparser: Fix cross-compilation.

* gnu/packages/web.scm (uriparser)[arguments]: When cross-compilation, Set
-DURIPARSER_BUILD_TESTS=OFF.

Change-Id: I003fbc37e82ed308998490b7bbba2aad6a0b7f55
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/packages/web.scm
M gnu/packages/web.scm => gnu/packages/web.scm +4 -0
@@ 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