mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 13:48:21 +03:00
glfw: hardwire path to libGL.so.1
This commit is contained in:
parent
1491d4f268
commit
f664181ef2
@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
||||
|
||||
preConfigure = lib.optional (!stdenv.isDarwin) ''
|
||||
substituteInPlace src/glx_context.c --replace "libGL.so.1" "${lib.getLib libGL}/lib/libGL.so.1"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";
|
||||
homepage = http://www.glfw.org/;
|
||||
|
Loading…
Reference in New Issue
Block a user