summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/misc/libtool/libtool2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/libtool/libtool2.nix')
-rw-r--r--pkgs/development/tools/misc/libtool/libtool2.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/libtool/libtool2.nix b/pkgs/development/tools/misc/libtool/libtool2.nix
index d1d35d9a4824..bd7f62a7bcd2 100644
--- a/pkgs/development/tools/misc/libtool/libtool2.nix
+++ b/pkgs/development/tools/misc/libtool/libtool2.nix
@@ -1,5 +1,4 @@
{ stdenv, fetchurl, m4, perl, help2man
-, buildPlatform, hostPlatform
}:
stdenv.mkDerivation rec {
@@ -26,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 = hostPlatform != buildPlatform;
+ dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
meta = {
description = "GNU Libtool, a generic library support script";