diff options
| author | Yang Liu <numbksco@gmail.com> | 2024-09-04 20:13:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-04 14:13:58 +0200 |
| commit | b34a50b38160d8455763773888130ecc4e18042a (patch) | |
| tree | ff533717e5a1fda7a5b237281b71f545f0b3dba6 /src/steam.c | |
| parent | a973c53ea2a728460fbe6f233fd428b6db008aac (diff) | |
| download | box64-b34a50b38160d8455763773888130ecc4e18042a.tar.gz box64-b34a50b38160d8455763773888130ecc4e18042a.zip | |
[X64LIBS] Changed x86/x64 libs install directory to prevent conflicts (#1791)
* [X64LIBS] Changed x86/x64 libs install directory to prevent conflicts * Update pressure_vessel
Diffstat (limited to 'src/steam.c')
| -rw-r--r-- | src/steam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/steam.c b/src/steam.c index 52461a31..8859ce05 100644 --- a/src/steam.c +++ b/src/steam.c @@ -39,13 +39,13 @@ 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/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/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; setenv(tmp, p, 1); printf_log(LOG_DEBUG, "setenv(%s, %s, 1)\n", tmp, p); - strcpy(tmp, "BOX64_LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:"); + strcpy(tmp, "BOX64_LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/box64-x86_64-linux-gnu:"); strcat(tmp, argv[nextarg]+strlen("--env-if-host=STEAM_RUNTIME_LIBRARY_PATH=")); p = strchr(tmp, '='); *p ='\0'; ++p; |