summary refs log tree commit diff
path: root/pkgs/games/opendungeons
diff options
context:
space:
mode:
authorPiotr Bogdan <ppbogdan@gmail.com>2019-01-04 19:33:50 +0000
committerPiotr Bogdan <ppbogdan@gmail.com>2019-01-04 21:44:20 +0000
commita6d2bff76585f0343fc69e40039c5954033bdc83 (patch)
tree22fc149076b7ddb4389a6efe6522eff1a04082fd /pkgs/games/opendungeons
parentff1fc5a19903a7ad92c6698d290ffada1c02e429 (diff)
downloadnixpkgs-a6d2bff76585f0343fc69e40039c5954033bdc83.tar
nixpkgs-a6d2bff76585f0343fc69e40039c5954033bdc83.tar.gz
nixpkgs-a6d2bff76585f0343fc69e40039c5954033bdc83.tar.bz2
nixpkgs-a6d2bff76585f0343fc69e40039c5954033bdc83.tar.lz
nixpkgs-a6d2bff76585f0343fc69e40039c5954033bdc83.tar.xz
nixpkgs-a6d2bff76585f0343fc69e40039c5954033bdc83.tar.zst
nixpkgs-a6d2bff76585f0343fc69e40039c5954033bdc83.zip
opendungeons: link with pthreads explicitly
Diffstat (limited to 'pkgs/games/opendungeons')
-rw-r--r--pkgs/games/opendungeons/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/games/opendungeons/default.nix b/pkgs/games/opendungeons/default.nix
index 2a162525388..3c4e85a91e5 100644
--- a/pkgs/games/opendungeons/default.nix
+++ b/pkgs/games/opendungeons/default.nix
@@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [ cmake ogre cegui boost sfml openal ois ];
+  NIX_LDFLAGS = [
+    "-lpthread"
+  ];
 
   meta = with stdenv.lib; {
     description = "An open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius.";