2021-05-20 23:08:51 +00:00
|
|
|
diff --git a/bin/mangohud.in b/bin/mangohud.in
|
2022-08-12 12:06:08 +00:00
|
|
|
index e13da99..086443c 100755
|
2021-05-20 23:08:51 +00:00
|
|
|
--- a/bin/mangohud.in
|
|
|
|
+++ b/bin/mangohud.in
|
|
|
|
@@ -23,6 +23,6 @@ fi
|
|
|
|
# figure out whether the 32 or 64 bit version should be used, and will search
|
|
|
|
# for it in the correct directory
|
2022-08-12 12:06:08 +00:00
|
|
|
LD_PRELOAD="${LD_PRELOAD}${LD_PRELOAD:+:}${MANGOHUD_LIB_NAME}"
|
|
|
|
-LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}@ld_libdir_mangohud@"
|
|
|
|
+LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}@ld_libdir_mangohud@:@mangohud32@/lib/mangohud"
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
exec env MANGOHUD=1 LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" LD_PRELOAD="${LD_PRELOAD}" "$@"
|