about summary refs log tree commit diff stats
path: root/src/tools/env.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-05-05 13:03:00 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-05-05 13:03:00 +0200
commit1ddf9a0a006f0c3336d52b4cdc65f1d68a5b434f (patch)
tree8a017a882d0a903a789327825945d7adacfb4509 /src/tools/env.c
parent35fa13899a09334d598e230917965ae9ae1aa992 (diff)
downloadbox64-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.c4
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)