diff options
| author | theofficialgman <28281419+theofficialgman@users.noreply.github.com> | 2024-11-20 12:15:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-20 18:15:03 +0100 |
| commit | 5422b108af4213228ad7a41e3e4353fb3115b324 (patch) | |
| tree | 2565f0e12998e3a02732349922a38b375d12c046 /src | |
| parent | 0d650b183f37a90fded43c9325552d5f667535d1 (diff) | |
| download | box64-5422b108af4213228ad7a41e3e4353fb3115b324.tar.gz box64-5422b108af4213228ad7a41e3e4353fb3115b324.zip | |
update pressure_vessel function with additional valid BOX86_LD_LIBRARY_PATH (#2050)
Diffstat (limited to 'src')
| -rw-r--r-- | src/steam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/steam.c b/src/steam.c index c32de63b..b433b2b4 100644 --- a/src/steam.c +++ b/src/steam.c @@ -39,7 +39,7 @@ void pressure_vessel(int argc, const char** argv, int nextarg, const char* prog) if(is_usr) { // transform RESSURE_VESSEL_APP_LD_LIBRARY_PATH to BOX86_ / BOX64_ LD_LIBRARY_PATH char tmp[strlen(argv[nextarg])+150]; - strcpy(tmp, "BOX86_LD_LIBRARY_PATH=/lib/box86:/usr/lib/box86:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/box64-i386-linux-gnu:/usr/lib/i686-pc-linux-gnu:/usr/lib32:"); + strcpy(tmp, "BOX86_LD_LIBRARY_PATH=/lib/box86:/usr/lib/box86:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/box86-i386-linux-gnu:/usr/lib/box64-i386-linux-gnu:/usr/lib/i686-pc-linux-gnu:/usr/lib32:"); strcat(tmp, argv[nextarg]+strlen("--env-if-host=STEAM_RUNTIME_LIBRARY_PATH=")); char *p = strchr(tmp, '='); *p ='\0'; ++p; |