Copy all so files over from nVidia blob

This commit is contained in:
Mateusz Kowalczyk 2014-08-09 01:42:08 +02:00
parent 83e29974d1
commit 816d971aea

View File

@ -33,11 +33,9 @@ installPhase() {
# Install libGL and friends. # Install libGL and friends.
mkdir -p $out/lib/vendors mkdir -p $out/lib/vendors
for f in \ for g in *.so.$versionNumber;
libcuda libGL libnvcuvid libnvidia-cfg libnvidia-compiler \
libnvidia-encode libnvidia-glcore libnvidia-ml libnvidia-opencl \
libnvidia-tls libOpenCL libnvidia-tls libvdpau_nvidia libEGL libGLESv2
do do
f=$(basename $g .so.$versionNumber)
cp -prd $f.* $out/lib/ cp -prd $f.* $out/lib/
ln -snf $f.so.$versionNumber $out/lib/$f.so ln -snf $f.so.$versionNumber $out/lib/$f.so
ln -snf $f.so.$versionNumber $out/lib/$f.so.1 ln -snf $f.so.$versionNumber $out/lib/$f.so.1