nvidia-x11: don't install libvdpau* that we have already
Besides being redundant to inject libvdpau via LD_LIBRARY_PATH, currently the drivers come with a vulnerable version. https://devtalk.nvidia.com/default/topic/873035
This commit is contained in:
parent
5d5c053f68
commit
1464a4de57
@ -107,6 +107,9 @@ installPhase() {
|
|||||||
#patchelf --set-rpath $out/lib:$glPath $out/lib/libvdpau_nvidia.so.*.*
|
#patchelf --set-rpath $out/lib:$glPath $out/lib/libvdpau_nvidia.so.*.*
|
||||||
#patchelf --set-rpath $cudaPath $out/lib/libcuda.so.*.*
|
#patchelf --set-rpath $cudaPath $out/lib/libcuda.so.*.*
|
||||||
#patchelf --set-rpath $openclPath $out/lib/libnvidia-opencl.so.*.*
|
#patchelf --set-rpath $openclPath $out/lib/libnvidia-opencl.so.*.*
|
||||||
|
|
||||||
|
# we distribute these separately in `libvdpau`
|
||||||
|
rm "$out"/lib/libvdpau{.*,_trace.*}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -122,6 +122,9 @@ installPhase() {
|
|||||||
|
|
||||||
# For simplicity and dependency reduction, don't support the gtk3 interface.
|
# For simplicity and dependency reduction, don't support the gtk3 interface.
|
||||||
rm $out/lib/libnvidia-gtk3.*
|
rm $out/lib/libnvidia-gtk3.*
|
||||||
|
|
||||||
|
# we distribute these separately in `libvdpau`
|
||||||
|
rm "$out"/lib/libvdpau{.*,_trace.*}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user