androidenv: add missing emulator dynamic libraries
This commit is contained in:
parent
71fd66ef17
commit
7d69a04d79
@ -36,9 +36,12 @@ deployAndroidPackage {
|
|||||||
addAutoPatchelfSearchPath ${pkgs.libuuid.out}/lib
|
addAutoPatchelfSearchPath ${pkgs.libuuid.out}/lib
|
||||||
autoPatchelf $out
|
autoPatchelf $out
|
||||||
|
|
||||||
# Wrap emulator so that it can load libdbus-1.so at runtime and it no longer complains about XKB keymaps
|
# Wrap emulator so that it can load required libraries at runtime
|
||||||
wrapProgram $out/libexec/android-sdk/emulator/emulator \
|
wrapProgram $out/libexec/android-sdk/emulator/emulator \
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ pkgs.dbus ]} \
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [
|
||||||
|
pkgs.dbus
|
||||||
|
pkgs.systemd
|
||||||
|
]} \
|
||||||
--set QT_XKB_CONFIG_ROOT ${pkgs.xkeyboard_config}/share/X11/xkb \
|
--set QT_XKB_CONFIG_ROOT ${pkgs.xkeyboard_config}/share/X11/xkb \
|
||||||
--set QTCOMPOSE ${pkgs.xorg.libX11.out}/share/X11/locale
|
--set QTCOMPOSE ${pkgs.xorg.libX11.out}/share/X11/locale
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user