Merge pull request #13957 from ambrop72/opencsg-fix

opencsg: Fix build related to missing libX11 linking the example.
This commit is contained in:
Domen Kožar 2016-03-23 12:58:07 +00:00
commit 6648ef5d25

View File

@ -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}