nixpkgs/pkgs/os-specific/linux/opengl/xorg-sys/builder.sh
Eelco Dolstra aadfab6fff * Linux 2.6.25.6.
svn path=/nixpkgs/trunk/; revision=12032
2008-06-10 16:37:38 +00:00

16 lines
308 B
Bash

source $stdenv/setup
ensureDir $out/lib
ln -s /usr/lib/libGL.so.1 $out/lib/
ln -s /usr/lib/libGLU.so.1 $out/lib/
ln -s /usr/lib/libGLcore.so.1 $out/lib/
ln -s /usr/lib/tls/libnvidia-tls.so.1 $out/lib/
#ln -s /usr/lib/libdrm.so.2 $out/lib/
for i in $neededLibs; do
ln -s $i/lib/*.so* $out/lib/
done