mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
libglvnd: refer to driversLink via libGL_driver
This commit is contained in:
parent
ea04aa1720
commit
42dcaa91d6
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchFromGitHub, autoreconfHook, python2, pkgconfig, libGLU_combined_noglu, libX11, libXext, glproto }:
|
||||
{stdenv, fetchFromGitHub, autoreconfHook, python2, pkgconfig, libGL_driver, libX11, libXext, glproto }:
|
||||
|
||||
# Git version is needed for EGL and GLES handling.
|
||||
|
||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-UDEFAULT_EGL_VENDOR_CONFIG_DIRS"
|
||||
"-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${libGLU_combined_noglu.driverLink}/share/glvnd/egl_vendor.d\""
|
||||
"-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${libGL_driver.driverLink}/share/glvnd/egl_vendor.d\""
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
|
Loading…
Reference in a new issue