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>
@@ -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
-LD_PRELOAD=/usr/lib/libgamemodeauto.so %command%
+LD_PRELOAD=/usr/\$LIB/libgamemodeauto.so %command%
---