Merge pull request #13957 from ambrop72/opencsg-fix
opencsg: Fix build related to missing libX11 linking the example.
This commit is contained in:
commit
6648ef5d25
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's/^\(LIBS *=.*\)$/\1 -lX11/' example/Makefile
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv "$out/"{bin,share/doc/opencsg}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user