guix-patches
[Top][All Lists]
Advanced

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

[bug#62916] [PATCH v3 1/1] gnu: p11-kit: fix build on mingw.


From: Vivien Kraus
Subject: [bug#62916] [PATCH v3 1/1] gnu: p11-kit: fix build on mingw.
Date: Tue, 25 Apr 2023 17:50:13 +0200
User-agent: Evolution 3.46.4

* gnu/packages/patches/p11-kit-fix-build-system-for-mingw.patch: New patch. It
makes sure that all symbols are defined when linking objects.
* gnu/packages/tls.scm (p11-kit) [on target-mingw?] [phase
'apply-mingw-patch]: New phase, similar to what’s done with hurd.
* gnu/packages/tls.scm (p11-kit) [native-inputs]: also add the autotools on 
mingw.
---
 gnu/packages/tls.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index e0da7757e0..38126e2326 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -165,7 +165,10 @@ (define-public p11-kit
      (list #:configure-flags
            ;; Use the default certificates so that users such as flatpak
            ;; find them.  See <https://issues.guix.gnu.org/49957>.
-           #~'("--with-trust-paths=/etc/ssl/certs/ca-certificates.crt")
+           #~'("--with-trust-paths=/etc/ssl/certs/ca-certificates.crt"
+               #$@(if (target-mingw?)
+                      #~("--disable-ld-version-script")
+                      #~()))
            #:phases #~(modify-phases %standard-phases
                         #$@(if (hurd-target?)
                                #~((add-after 'unpack 'apply-hurd-patch
-- 
2.39.2





reply via email to

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