GNU libiconv: Build the static library on Cygwin.
svn path=/nixpkgs/trunk/; revision=34269
This commit is contained in:
parent
b82a8f6319
commit
8c810af59b
@ -1,6 +1,6 @@
|
|||||||
{ fetchurl, stdenv }:
|
{ fetchurl, stdenv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "libiconv-1.13.1";
|
name = "libiconv-1.13.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -30,3 +30,13 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = [ "i686-cygwin" "i686-darwin" ];
|
platforms = [ "i686-cygwin" "i686-darwin" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
stdenv.lib.optionalAttrs stdenv.isCygwin {
|
||||||
|
# On Cygwin, Libtool produces a `.dll.a', which is not a "real" DLL
|
||||||
|
# (Windows' linker would need to be used somehow to produce an actual
|
||||||
|
# DLL.) Thus, build the static library too, and this is what Gettext
|
||||||
|
# will actually use.
|
||||||
|
configureFlags = [ "--enable-static" ];
|
||||||
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user