[jhbuild/wip/chergert/fix-libgit2] libgit2: fix build for SSH and thread support




commit 95b4d6efdfbb54d5dd5def8d0082e629ce5f7249
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jun 3 11:46:56 2022 -0700

    libgit2: fix build for SSH and thread support
    
    The -DTHREADSAFE:BOOL=1 parameter is obsolete with more recent releases
    of libgit2. Additionally, the projects using this need SSH so we might
    as well be specific about compiling with it.

 modulesets/gnome-apps-latest.modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/modulesets/gnome-apps-latest.modules b/modulesets/gnome-apps-latest.modules
index 81d3b084..69c56493 100644
--- a/modulesets/gnome-apps-latest.modules
+++ b/modulesets/gnome-apps-latest.modules
@@ -123,7 +123,7 @@
   </meson>
 
   <cmake id="libgit2"
-         cmakeargs="-DTHREADSAFE:BOOL=1">
+         cmakeargs="-DUSE_THREADS:BOOL=1 -DUSE_SSH:BOOL=1">
     <branch repo="tarball.github.com"
             module="libgit2/libgit2/archive/v${version}.tar.gz"
             version="1.4.2"


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