all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 5e5603116cd2c1954f6d31d93c8d6b0a1fb02854 961 bytes (raw)
name: gnu/packages/patches/rapidcheck-fix-libs.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
From c4f558b0990571759fdaf976eb35ee1eb0d934a0 Mon Sep 17 00:00:00 2001
From: Robert Hensing <robert@roberthensing.nl>
Date: Tue, 25 Jun 2024 20:57:41 +0200
Subject: [PATCH] Add -lrapidcheck to pkg-config module

This adds the library to rapidcheck.pc, so that it doesn't have
to be specified manually in projects that consume it.

The other modules don't need it because they have rapidcheck in
their Requires field.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d55fdc51..046df2fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -128,7 +128,7 @@ set(PKG_CONFIG_DESCRIPTION_SUMMARY "C++ framework for property based testing ins
 set(PKG_CONFIG_VERSION)
 set(PKG_CONFIG_LIBDIR "\${prefix}/lib")
 set(PKG_CONFIG_INCLUDEDIR "\${prefix}/include")
-set(PKG_CONFIG_LIBS)
+set(PKG_CONFIG_LIBS "-L\${libdir} -lrapidcheck")
 set(PKG_CONFIG_CFLAGS "-I\${includedir}")
 
 configure_file(

debug log:

solving 5e5603116c ...
found 5e5603116c in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.