@@ -70,7 +70,7 @@ in stdenv.mkDerivation rec {
|
||||
homepage = http://xmlsoft.org/;
|
||||
description = "An XML parsing library for C";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://xmlsoft.org/XSLT/;
|
||||
description = "A C library and tools to do XSL transformations";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.eelco ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,7 +34,11 @@ stdenv.mkDerivation rec {
|
||||
] ++ lib.optional unicode "--enable-widec"
|
||||
++ lib.optional enableStatic "--enable-static"
|
||||
++ lib.optional (!withCxx) "--without-cxx"
|
||||
++ lib.optional (abiVersion == "5") "--with-abi-version=5";
|
||||
++ lib.optional (abiVersion == "5") "--with-abi-version=5"
|
||||
++ lib.optionals hostPlatform.isWindows [
|
||||
"--enable-sp-funcs"
|
||||
"--enable-term-driver"
|
||||
];
|
||||
|
||||
# Only the C compiler, and explicitly not C++ compiler needs this flag on solaris:
|
||||
CFLAGS = lib.optionalString stdenv.isSunOS "-D_XOPEN_SOURCE_EXTENDED";
|
||||
|
||||
@@ -44,7 +44,9 @@ let
|
||||
if hostPlatform == buildPlatform
|
||||
then "./config"
|
||||
else if hostPlatform.isMinGW
|
||||
then "./Configure mingw${toString hostPlatform.parsed.cpu.bits}"
|
||||
then "./Configure mingw${optionalString
|
||||
(hostPlatform.parsed.cpu.bits != 32)
|
||||
(toString hostPlatform.parsed.cpu.bits)}"
|
||||
else if hostPlatform.isLinux
|
||||
then "./Configure linux-generic${toString hostPlatform.parsed.cpu.bits}"
|
||||
else if hostPlatform.isiOS
|
||||
|
||||
Reference in New Issue
Block a user