Build and install the .so for glfw 2.x

This commit is contained in:
Tomasz Kontusz 2015-02-03 21:33:26 +01:00
parent b26a6e8a23
commit 9d8defa06a

View File

@ -16,7 +16,9 @@ stdenv.mkDerivation rec {
installPhase = ''
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; {