From 9e36ffe9f90770e6d7ba282594a3ec35350e2c57 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Mon, 15 Jan 2018 12:21:39 +0000 Subject: [PATCH] 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 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01c16bc..83bdcb4 100644 --- a/README.md +++ b/README.md @@ -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% ``` ---