diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-05-05 13:03:00 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-05-05 13:03:00 +0200 |
| commit | 1ddf9a0a006f0c3336d52b4cdc65f1d68a5b434f (patch) | |
| tree | 8a017a882d0a903a789327825945d7adacfb4509 /src/tools/env.c | |
| parent | 35fa13899a09334d598e230917965ae9ae1aa992 (diff) | |
| download | box64-1ddf9a0a006f0c3336d52b4cdc65f1d68a5b434f.tar.gz box64-1ddf9a0a006f0c3336d52b4cdc65f1d68a5b434f.zip | |
[RCFILE] Fixed all regression of BOX64_ADDLIBS settings
Diffstat (limited to 'src/tools/env.c')
| -rw-r--r-- | src/tools/env.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/env.c b/src/tools/env.c index ad37922e..c21a3687 100644 --- a/src/tools/env.c +++ b/src/tools/env.c @@ -95,6 +95,8 @@ static void parseRange(const char* s, uintptr_t* start, uintptr_t* end) sscanf(s, "%lx-%lx", start, end); } +void AddNewLibs(const char* list); + static void applyCustomRules() { if (BOX64ENV(log) == LOG_NEVER) { @@ -196,6 +198,8 @@ static void applyCustomRules() if (box64env.env3) addNewEnvVar(box64env.env3); if (box64env.env4) addNewEnvVar(box64env.env4); if (box64env.env5) addNewEnvVar(box64env.env5); + + if (box64env.addlibs) AddNewLibs(box64env.addlibs); } static void trimStringInplace(char* s) |