opencsg: Fix build related to missing libX11 linking the example.

This commit is contained in:
Ambroz Bizjak 2016-03-16 12:37:35 +01:00
parent dca9630fae
commit 853d612c3f

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}