libvdpau: add -lX11 on darwin
Seems to be necessary for some reason. Otherwise we are missing symbols.
This commit is contained in:
@@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = stdenv.lib.optional stdenv.isLinux
|
||||
"--with-module-dir=${libGL_driver.driverLink}/lib/vdpau";
|
||||
|
||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lX11" else null;
|
||||
|
||||
installFlags = [ "moduledir=$(out)/lib/vdpau" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user