-
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>
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>