guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64137] [PATCH v2 8/8] gnu: Add catch2-static-3.3.


From: David Elsing
Subject: [bug#64137] [PATCH v2 8/8] gnu: Add catch2-static-3.3.
Date: Sun, 18 Jun 2023 20:53:07 +0000

* gnu/packages/check.scm (catch2-static-3.3): New variable.
---
 gnu/packages/check.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 512b2ac070..7986f58cc1 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -623,6 +623,17 @@ (define-public catch2-3.3
 a multi-paradigm automated test framework for C++ and Objective-C.")
     (license license:boost1.0)))
 
+(define-public catch2-static-3.3
+  (let ((base catch2-3.3))
+    (package
+      (inherit base)
+      (name "catch2-static")
+      (arguments
+       (substitute-keyword-arguments (package-arguments base)
+         ((#:configure-flags flags)
+          #~(cons* "-DBUILD_SHARED_LIBS=OFF"
+                   (delete "-DBUILD_SHARED_LIBS=ON" #$flags))))))))
+
 (define-public cmdtest
   (package
     (name "cmdtest")
-- 
2.40.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]