1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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 = ''
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; {