Add option to change lib dir in gamemoderun

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
Stephan Lachnit
2020-04-22 13:13:33 +02:00
committed by afayaz-feral
parent 1709810707
commit 1e8312f7e3
3 changed files with 12 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
# Path to installed libgamemodeauto. ld.so will substitute "\$LIB" to get the
# appropriate path depending on whether the app is 32- or 64-bit.
GAMEMODEAUTO="@GAMEMODE_PREFIX@/\$LIB/libgamemodeauto.so.0"
GAMEMODEAUTO="@GAMEMODERUN_PREFIX@libgamemodeauto.so.0"
LD_PRELOAD="${GAMEMODEAUTO}${LD_PRELOAD:+:$LD_PRELOAD}"