fcitx5: fix cross compilation (#399981)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
buildPackages,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
wayland-scanner,
|
||||
@@ -95,6 +96,10 @@ stdenv.mkDerivation rec {
|
||||
libxkbfile
|
||||
];
|
||||
|
||||
cmakeFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||
(lib.cmakeFeature "CMAKE_CROSSCOMPILING_EMULATOR" (stdenv.hostPlatform.emulator buildPackages))
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
passthru = {
|
||||
|
||||
Reference in New Issue
Block a user