mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-23 16:03:04 +02:00
Allow LD_PRELOAD overrides from GAMEMODERUNEXEC commands
This commit is contained in:
parent
3fcff0d75f
commit
5163c01d24
@ -6,4 +6,4 @@ GAMEMODEAUTO_NAME="libgamemodeauto.so.0"
|
||||
# ld will find the right path to load the library, including for 32-bit apps.
|
||||
LD_PRELOAD="${GAMEMODEAUTO_NAME}${LD_PRELOAD:+:$LD_PRELOAD}"
|
||||
|
||||
exec $GAMEMODERUNEXEC env LD_PRELOAD="${LD_PRELOAD}" "$@"
|
||||
exec env LD_PRELOAD="${LD_PRELOAD}" $GAMEMODERUNEXEC "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user