about summary refs log tree commit diff
path: root/pkgs/development/libraries/glfw/3.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/glfw/3.x.nix')
-rw-r--r--pkgs/development/libraries/glfw/3.x.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/glfw/3.x.nix b/pkgs/development/libraries/glfw/3.x.nix
index 681137cd590b..094856b66ab7 100644
--- a/pkgs/development/libraries/glfw/3.x.nix
+++ b/pkgs/development/libraries/glfw/3.x.nix
@@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
   ];
 
   cmakeFlags = "-DBUILD_SHARED_LIBS=ON";
+  NIX_LDFLAGS= "-lpthread -L${stdenv.cc.libc.out}/lib";
 
   meta = with stdenv.lib; { 
     description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";