electron: add missing wayland runtimeDependency (#206978)
when using --ozone-platform-hint=wayland it will dlopen this library. Adding wayland to rpath does not increase the closure size since gtk3 already should have wayland in its closure. This fixes element-desktop for example.
This commit is contained in:
parent
8bda09a85d
commit
ba962cc4bb
@ -16,6 +16,7 @@
|
||||
, libappindicator-gtk3
|
||||
, libxshmfence
|
||||
, libglvnd
|
||||
, wayland
|
||||
}@args:
|
||||
|
||||
let
|
||||
|
@ -16,6 +16,7 @@
|
||||
, libappindicator-gtk3
|
||||
, libxshmfence
|
||||
, libglvnd
|
||||
, wayland
|
||||
}:
|
||||
|
||||
version: hashes:
|
||||
@ -64,7 +65,7 @@ let
|
||||
};
|
||||
|
||||
electronLibPath = with lib; makeLibraryPath (
|
||||
[ libuuid at-spi2-atk at-spi2-core libappindicator-gtk3 ]
|
||||
[ libuuid at-spi2-atk at-spi2-core libappindicator-gtk3 wayland ]
|
||||
++ optionals (versionAtLeast version "9.0.0") [ libdrm mesa ]
|
||||
++ optionals (versionOlder version "10.0.0") [ libXScrnSaver ]
|
||||
++ optionals (versionAtLeast version "11.0.0") [ libxkbcommon ]
|
||||
|
Loading…
Reference in New Issue
Block a user