summary refs log tree commit diff
path: root/pkgs/development/libraries/git2
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2014-01-09 14:18:58 +0100
committerDomen Kožar <domen@dev.si>2014-01-10 01:45:33 +0100
commit523aa4338bed9c49e1a1fa1a7cfb5472d756c042 (patch)
treed893619e7082eaf56afa43a361e44dabd537a3ca /pkgs/development/libraries/git2
parentc210ed0712c5b5decdfd942d8b99497fcc623e6a (diff)
downloadnixpkgs-523aa4338bed9c49e1a1fa1a7cfb5472d756c042.tar
nixpkgs-523aa4338bed9c49e1a1fa1a7cfb5472d756c042.tar.gz
nixpkgs-523aa4338bed9c49e1a1fa1a7cfb5472d756c042.tar.bz2
nixpkgs-523aa4338bed9c49e1a1fa1a7cfb5472d756c042.tar.lz
nixpkgs-523aa4338bed9c49e1a1fa1a7cfb5472d756c042.tar.xz
nixpkgs-523aa4338bed9c49e1a1fa1a7cfb5472d756c042.tar.zst
nixpkgs-523aa4338bed9c49e1a1fa1a7cfb5472d756c042.zip
libgit2: add threadsafe
Diffstat (limited to 'pkgs/development/libraries/git2')
-rw-r--r--pkgs/development/libraries/git2/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/git2/default.nix b/pkgs/development/libraries/git2/default.nix
index 3c4c2703d6f..abb782641dd 100644
--- a/pkgs/development/libraries/git2/default.nix
+++ b/pkgs/development/libraries/git2/default.nix
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
     sha256 = "1iyncz8fqazw683dxjls3lf5pw3f5ma8kachkvjz7dsq57wxllbj";
   };
 
+  cmakeFlags = "-DTHREADSAFE=ON";
+
   nativeBuildInputs = [ cmake python ];
   buildInputs = [ zlib ];