forked from mirrors/nixpkgs
commit
09768783f2
|
@ -657,9 +657,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
# Set RUNPATH so that libnvcuvid and libcuda in /run/opengl-driver(-32)/lib can be found.
|
# Set RUNPATH so that libnvcuvid and libcuda in /run/opengl-driver(-32)/lib can be found.
|
||||||
# See the explanation in addOpenGLRunpath.
|
# See the explanation in addOpenGLRunpath.
|
||||||
postFixup = optionalString stdenv.isLinux ''
|
postFixup = optionalString (stdenv.isLinux && withLib) ''
|
||||||
addOpenGLRunpath $out/lib/libavcodec.so
|
addOpenGLRunpath ${placeholder "lib"}/lib/libavcodec.so
|
||||||
addOpenGLRunpath $out/lib/libavutil.so
|
addOpenGLRunpath ${placeholder "lib"}/lib/libavutil.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue