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:
commit
dcc543f8fe
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue