diff options
author | Samuel Leathers <disasm@gmail.com> | 2019-07-31 13:03:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-31 13:03:29 -0400 |
commit | 5d41f1a6760d6f5e8754c1286f2aeacb211b4bd0 (patch) | |
tree | 3ba29fad92543c17f9a76192a274530cce04922a | |
parent | 28effc0819767e135060f35baa5bc08991ae45db (diff) | |
parent | 62a8927217e5cc2b413b761b123e97cc10f6c2fd (diff) | |
download | nixlib-5d41f1a6760d6f5e8754c1286f2aeacb211b4bd0.tar nixlib-5d41f1a6760d6f5e8754c1286f2aeacb211b4bd0.tar.gz nixlib-5d41f1a6760d6f5e8754c1286f2aeacb211b4bd0.tar.bz2 nixlib-5d41f1a6760d6f5e8754c1286f2aeacb211b4bd0.tar.lz nixlib-5d41f1a6760d6f5e8754c1286f2aeacb211b4bd0.tar.xz nixlib-5d41f1a6760d6f5e8754c1286f2aeacb211b4bd0.tar.zst nixlib-5d41f1a6760d6f5e8754c1286f2aeacb211b4bd0.zip |
Merge pull request #62026 from bhipple/fix/libtool
libtool2: enable parallel builds
-rw-r--r-- | pkgs/development/tools/misc/libtool/libtool2.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/pkgs/development/tools/misc/libtool/libtool2.nix b/pkgs/development/tools/misc/libtool/libtool2.nix index 0fb3dfed7445..0424b9012519 100644 --- a/pkgs/development/tools/misc/libtool/libtool2.nix +++ b/pkgs/development/tools/misc/libtool/libtool2.nix @@ -2,10 +2,11 @@ }: stdenv.mkDerivation rec { - name = "libtool-2.4.6"; + pname = "libtool"; + version = "2.4.6"; src = fetchurl { - url = "mirror://gnu/libtool/${name}.tar.gz"; + url = "mirror://gnu/libtool/${pname}-${version}.tar.gz"; sha256 = "1qq61k6lp1fp75xs398yzi6wvbx232l7xbyn3p13cnh27mflvgg3"; }; @@ -23,13 +24,14 @@ stdenv.mkDerivation rec { doCheck = false; doInstallCheck = false; + enableParallelBuilding = true; + # Don't run the native `strip' when cross-compiling. This breaks at least # with `.a' files for MinGW. dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; - meta = { + meta = with stdenv.lib; { description = "GNU Libtool, a generic library support script"; - longDescription = '' GNU libtool is a generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, @@ -39,12 +41,9 @@ stdenv.mkDerivation rec { your Makefile, Makefile.in, or Makefile.am. See the documentation for details. ''; - homepage = https://www.gnu.org/software/libtool/; - - license = stdenv.lib.licenses.gpl2Plus; - + license = licenses.gpl2Plus; maintainers = [ ]; - platforms = stdenv.lib.platforms.unix; + platforms = platforms.unix; }; } |