diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2016-04-13 18:52:37 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2016-04-13 18:52:37 +0200 |
commit | be90eb047c03c74ccd6ca03703fb69696fc288f8 (patch) | |
tree | f5fef89ad343dfd96f8b73e170f29d9fbd18c7c6 /pkgs/development/libraries/glfw | |
parent | cd5b677576ecab782edcf3f5066c399be7b56e44 (diff) | |
download | nixpkgs-be90eb047c03c74ccd6ca03703fb69696fc288f8.tar nixpkgs-be90eb047c03c74ccd6ca03703fb69696fc288f8.tar.gz nixpkgs-be90eb047c03c74ccd6ca03703fb69696fc288f8.tar.bz2 nixpkgs-be90eb047c03c74ccd6ca03703fb69696fc288f8.tar.lz nixpkgs-be90eb047c03c74ccd6ca03703fb69696fc288f8.tar.xz nixpkgs-be90eb047c03c74ccd6ca03703fb69696fc288f8.tar.zst nixpkgs-be90eb047c03c74ccd6ca03703fb69696fc288f8.zip |
glfw3: apparently fix the build
Diffstat (limited to 'pkgs/development/libraries/glfw')
-rw-r--r-- | pkgs/development/libraries/glfw/3.x.nix | 1 |
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 681137cd590..094856b66ab 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"; |