Use correct LIB escaping for LD_PRELOAD

This ensures we use the architecture independent path in the environment
variable, allowing multiarch + multilib system paths to be respected.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
Ikey Doherty 2018-01-15 12:21:39 +00:00 committed by Marc Di Luzio
parent 1328e07f86
commit 9e36ffe9f9

View File

@ -64,11 +64,11 @@ sudo ninja install
After installing `libgamemodeauto.so` simple preload it into the program. Examples:
```bash
LD_PRELOAD=/usr/lib/libgamemodeauto.so ./game
LD_PRELOAD=/usr/\$LIB/libgamemodeauto.so ./game
```
Or steam launch options
```bash
LD_PRELOAD=/usr/lib/libgamemodeauto.so %command%
LD_PRELOAD=/usr/\$LIB/libgamemodeauto.so %command%
```
---