_v2-entry-point: Support custom LD_LIBRARY_PATH from game launch options
Compare changes
+ 43
− 0
@@ -142,6 +142,49 @@ if [ -z "${STEAM_COMPAT_SESSION_ID-}" ]; then
@@ -142,6 +142,49 @@ if [ -z "${STEAM_COMPAT_SESSION_ID-}" ]; then
When a game is launched with a custom launch option as:
"LD_LIBRARY_PATH="/my_libs:${LD_LIBRARY_PATH}" %command%"
we want to treat /my_libs
as if it were part of the OS-level search
path.
/cc @smcv