about summary refs log tree commit diff stats
path: root/src/librarian
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-26 13:20:34 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-03-26 13:20:34 +0100
commit1eaa7159a6416640bccf3cc3541adedcde2649b0 (patch)
treea45af1710cc233e1deeef13374af8ed7b59d79c1 /src/librarian
parent4015c26e68a5ce812673a3d434f8d98fa21755c1 (diff)
downloadbox64-1eaa7159a6416640bccf3cc3541adedcde2649b0.tar.gz
box64-1eaa7159a6416640bccf3cc3541adedcde2649b0.zip
More work around steam and proton/SteamPlay (working, but need also latest box86)
Diffstat (limited to 'src/librarian')
-rwxr-xr-xsrc/librarian/library.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librarian/library.c b/src/librarian/library.c
index 46aead20..32a58311 100755
--- a/src/librarian/library.c
+++ b/src/librarian/library.c
@@ -342,6 +342,8 @@ library_t *NewLibrary(const char* path, box64context_t* context)
     }
     int notwrapped = FindInCollection(lib->name, &context->box64_emulated_libs);
     int precise = (path && path[0]=='/')?1:0;
+    if(!notwrapped && precise && strstr(path, "libtcmalloc_minimal.so"))
+        precise = 0;    // allow native version for tcmalloc_minimum
     // check if name is libSDL_sound-1.0.so.1 but with SDL2 loaded, then try emulated first...
     if(!notwrapped && !strcmp(lib->name, "libSDL_sound-1.0.so.1") && my_context->sdl2lib)
         notwrapped = 1;