02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
12 lines
596 B
Diff
12 lines
596 B
Diff
diff --git a/bin/mangohud.in b/bin/mangohud.in
|
|
index e13da99..086443c 100755
|
|
--- 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
|
|
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"
|
|
|
|
exec env MANGOHUD=1 LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" LD_PRELOAD="${LD_PRELOAD}" "$@"
|