mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +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, fetchurl, m4, perl, lzma }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "libtool-2.4";
|
name = "libtool-2.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -38,3 +38,11 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
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