mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
libiberty: enable strictDeps, enable structuredAttrs (#560597)
This commit is contained in:
@@ -28,12 +28,16 @@ stdenv.mkDerivation {
|
||||
substituteInPlace ../config.guess --replace-fail /usr/bin/uname uname
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
configureFlags = [ "--enable-install-libiberty" ] ++ lib.optional (!staticBuild) "--enable-shared";
|
||||
|
||||
postInstall = lib.optionalString (!staticBuild) ''
|
||||
cp pic/libiberty.a $out/lib*/libiberty.a
|
||||
'';
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://gcc.gnu.org/";
|
||||
license = lib.licenses.lgpl2;
|
||||
|
||||
Reference in New Issue
Block a user