gnulib: symlink include/ to lib/

so that some programs can find the headers automatically instead of
adding -I${gnulib}/lib
This commit is contained in:
Matthieu Coudron 2018-03-27 07:35:36 +09:00
parent 56fb68dcef
commit 2355189b15

View File

@ -9,8 +9,12 @@ stdenv.mkDerivation {
sha256 = "0sifr3bkmhyr5s6ljgfyr0fw6w49ajf11rlp1r797f3r3r6j9w4k";
};
installPhase = "mkdir -p $out; mv * $out/";
dontFixup = true;
# no "make install", gnulib is a collection of source code
installPhase = ''
mkdir -p $out; mv * $out/
ln -s $out/lib $out/include
'';
meta = {
homepage = http://www.gnu.org/software/gnulib/;