mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
gstreamer-base: support cross-compilation
This should also at least enable cross support for gstreamer-plugins-good
This commit is contained in:
parent
cadf0193dd
commit
4a8dca9c35
@ -107,6 +107,7 @@ stdenv.mkDerivation rec {
|
||||
"-Dgl_winsys=${lib.concatStringsSep "," (lib.optional enableX11 "x11" ++ lib.optional enableWayland "wayland" ++ lib.optional enableCocoa "cocoa")}"
|
||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"-Dintrospection=disabled"
|
||||
"-Dtests=disabled"
|
||||
]
|
||||
++ lib.optional (!enableX11) "-Dx11=disabled"
|
||||
# TODO How to disable Wayland?
|
||||
|
Loading…
Reference in New Issue
Block a user