libiberty: Add dev output
This commit is contained in:
parent
9ea242c617
commit
c0a04ec2f5
@ -205,6 +205,7 @@
|
|||||||
eqyiel = "Ruben Maher <r@rkm.id.au>";
|
eqyiel = "Ruben Maher <r@rkm.id.au>";
|
||||||
ericbmerritt = "Eric Merritt <eric@afiniate.com>";
|
ericbmerritt = "Eric Merritt <eric@afiniate.com>";
|
||||||
ericsagnes = "Eric Sagnes <eric.sagnes@gmail.com>";
|
ericsagnes = "Eric Sagnes <eric.sagnes@gmail.com>";
|
||||||
|
ericson2314 = "John Ericson <John.Ericson@Obsidian.Systems>";
|
||||||
erictapen = "Justin Humm <justin.humm@posteo.de>";
|
erictapen = "Justin Humm <justin.humm@posteo.de>";
|
||||||
erikryb = "Erik Rybakken <erik.rybakken@math.ntnu.no>";
|
erikryb = "Erik Rybakken <erik.rybakken@math.ntnu.no>";
|
||||||
ertes = "Ertugrul Söylemez <esz@posteo.de>";
|
ertes = "Ertugrul Söylemez <esz@posteo.de>";
|
||||||
|
@ -1,15 +1,18 @@
|
|||||||
{ stdenv, lib, fetchurl, gcc, staticBuild ? false }:
|
{ stdenv, fetchurl, gcc, staticBuild ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libiberty-${gcc.cc.version}";
|
name = "libiberty-${gcc.cc.version}";
|
||||||
|
|
||||||
inherit (gcc.cc) src;
|
inherit (gcc.cc) src;
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
postUnpack = "sourceRoot=\${sourceRoot}/libiberty";
|
postUnpack = "sourceRoot=\${sourceRoot}/libiberty";
|
||||||
|
|
||||||
configureFlags = [ "--enable-install-libiberty" ] ++ lib.optional (!staticBuild) "--enable-shared";
|
configureFlags = [ "--enable-install-libiberty" ]
|
||||||
|
++ stdenv.lib.optional (!staticBuild) "--enable-shared";
|
||||||
|
|
||||||
postInstall = lib.optionalString (!staticBuild) ''
|
postInstall = stdenv.lib.optionalString (!staticBuild) ''
|
||||||
cp pic/libiberty.a $out/lib*/libiberty.a
|
cp pic/libiberty.a $out/lib*/libiberty.a
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -17,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://gcc.gnu.org/;
|
homepage = http://gcc.gnu.org/;
|
||||||
license = licenses.lgpl2;
|
license = licenses.lgpl2;
|
||||||
description = "Collection of subroutines used by various GNU programs";
|
description = "Collection of subroutines used by various GNU programs";
|
||||||
maintainers = with maintainers; [ abbradar ];
|
maintainers = with maintainers; [ abbradar ericson2314 ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user