mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
Merge pull request #87983 from lourkeur/cleanup_libfakeXinerama
fakeXinerama: clean up minor issues
This commit is contained in:
commit
344787cf8e
@ -11,8 +11,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ libX11 libXinerama ];
|
||||
|
||||
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
|
||||
|
||||
buildPhase = ''
|
||||
gcc -O2 -Wall fakeXinerama.c -fPIC -o libfakeXinerama.so.1.0 -shared
|
||||
'';
|
||||
@ -20,6 +18,7 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
cp libfakeXinerama.so.1.0 $out/lib
|
||||
ln -s libfakeXinerama.so.1.0 $out/lib/libXinerama.so.1.0
|
||||
ln -s libXinerama.so.1.0 $out/lib/libXinerama.so.1
|
||||
ln -s libXinerama.so.1 $out/lib/libXinerama.so
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user