ERROR: Assert failed: please recompile a threadsafe version of libgit2 (-DTHREADSAFE:BOOL=ON)
I'm trying to build gitg 41 on a Devuan Chimaera GNU/Linux system. I've downloaded and built: glib 2.72.1, gsettings-desktop-schemas 41.0 and libgit2-glib 1.0.0.1 , as dependencies.
But when I try to configure the build for gitg, meson complains:
meson.build:155:0: ERROR: Assert failed: please recompile a threadsafe version of libgit2 (-DTHREADSAFE:BOOL=ON)
I'm pretty sure my system's libgit2 is compiled in threadsafe mode. But to be extra sure, I downloaded and build libgit2-1.3.0 - which by default builds threadsafe - and rebuilt libgit2-glib to use it. I still got the same error trying to configure gitg.