Merge pull request #6125 from ktosiek/dynamic-glfw2

Build and install the .so for glfw 2.x
This commit is contained in:
Sou Bunnbu 2015-02-05 10:02:11 +08:00
commit dcc543f8fe

View File

@ -16,7 +16,9 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
make x11-install PREFIX=$out make x11-dist-install PREFIX=$out
mv $out/lib/libglfw.so $out/lib/libglfw.so.2
ln -s libglfw.so.2 $out/lib/libglfw.so
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {