_v2-entry-point: Support custom LD_LIBRARY_PATH from game launch options
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.
Instead of overloading "SYSTEM_LD_LIBRARY_PATH", this patch introduces a
new, more appropriate, environment variable called
"PRESSURE_VESSEL_APP_LD_LIBRARY_PATH".
Please note that "PRESSURE_VESSEL_APP_LD_LIBRARY_PATH" will also contain
the system paths that are coming from `ldconfig` (added by the "run.sh"
script).
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
parent
7a962895
No related branches found
No related tags found
Please register or sign in to comment