mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-27 23:57:42 +03:00
GNU Libtool: Don't run the native `strip' when cross-compiling.
svn path=/nixpkgs/trunk/; revision=27568
This commit is contained in:
parent
c1686c051d
commit
3da30b6770
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, m4, perl, lzma }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "libtool-2.4";
|
||||
|
||||
src = fetchurl {
|
||||
@ -38,3 +38,11 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
};
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
# Don't run the native `strip' when cross-compiling. This breaks at least
|
||||
# with `.a' files for MinGW.
|
||||
(if (stdenv ? cross)
|
||||
then { dontNativeStrip = true; }
|
||||
else { }))
|
||||
|
Loading…
Reference in New Issue
Block a user