libtool2: Don't use stdenv ? cross
This commit is contained in:
parent
3e69864717
commit
9cd606467f
@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl, m4, perl, help2man }:
|
||||
{ stdenv, fetchurl, m4, perl, help2man
|
||||
, buildPlatform, hostPlatform
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libtool-2.4.6";
|
||||
@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Don't run the native `strip' when cross-compiling. This breaks at least
|
||||
# with `.a' files for MinGW.
|
||||
dontStrip = stdenv ? cross;
|
||||
dontStrip = hostPlatform != buildPlatform;
|
||||
|
||||
meta = {
|
||||
description = "GNU Libtool, a generic library support script";
|
||||
|
Loading…
Reference in New Issue
Block a user