steam/fhsenv: Add LD_LIBRARY_PATH (and hence OpenGL driver library path) to output of --print-steam-runtime-library-paths
This commit is contained in:
parent
b83e5b85bd
commit
0127c29713
@ -60,7 +60,7 @@ let
|
|||||||
#!${runtimeShell}
|
#!${runtimeShell}
|
||||||
runtime_paths="/lib32:/lib64:${lib.concatStringsSep ":" ldPath}"
|
runtime_paths="/lib32:/lib64:${lib.concatStringsSep ":" ldPath}"
|
||||||
if [ "$1" == "--print-steam-runtime-library-paths" ]; then
|
if [ "$1" == "--print-steam-runtime-library-paths" ]; then
|
||||||
echo "$runtime_paths"
|
echo "$runtime_paths''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
export LD_LIBRARY_PATH="$runtime_paths''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$runtime_paths''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user