qt6.qtsvg: add mingw support

Part of a larger effort to add mingw support to qtmultimedia.
This commit is contained in:
Sean Link
2024-03-18 16:28:20 -06:00
parent 3d23162141
commit f83d7ac16d
@@ -5,11 +5,20 @@
, libmng
, zlib
, pkg-config
, lib
, stdenv
}:
qtModule {
pname = "qtsvg";
propagatedBuildInputs = [ qtbase ];
buildInputs = [ libwebp jasper libmng zlib ];
buildInputs = [
libwebp
] ++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
jasper
] ++ [
libmng
zlib
];
nativeBuildInputs = [ pkg-config ];
}