about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-09 13:59:01 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-09 13:59:01 +0100
commit6a9dbe3d89fbfb12c6bc048da9d2ecf3a3a5a243 (patch)
tree57c3a56907bd000ccb73aedd1252a244d70ef0ea /src
parent8e6ae3aa01efbd93d2e38de41ffb7350d8f5214a (diff)
downloadbox64-6a9dbe3d89fbfb12c6bc048da9d2ecf3a3a5a243.tar.gz
box64-6a9dbe3d89fbfb12c6bc048da9d2ecf3a3a5a243.zip
Prefer emulated version tbbmalloc.so.2 if present
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e73b3935..7c4f806b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1220,6 +1220,7 @@ void LoadEnvVars(box64context_t *context)
     AddPath("libunwind.so.8", &context->box64_emulated_libs, 0);
     AddPath("libpng12.so.0", &context->box64_emulated_libs, 0);
     AddPath("libcurl.so.4", &context->box64_emulated_libs, 0);
+    AddPath("libtbbmalloc.so.2", &context->box64_emulated_libs, 0);
 
     if(getenv("BOX64_SSE_FLUSHTO0")) {
         if (strcmp(getenv("BOX64_SSE_FLUSHTO0"), "1")==0) {