about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-06 15:23:15 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-03-06 15:23:15 +0100
commitd2cb088918b139ece64d3d7eab670a560e236d80 (patch)
tree23c9ba7c14a721c2ce65fcf0410662616961cba1 /src/main.c
parent6ca94b9f3fb369187af66425f33c8c6d498a3b8f (diff)
downloadbox64-d2cb088918b139ece64d3d7eab670a560e236d80.tar.gz
box64-d2cb088918b139ece64d3d7eab670a560e236d80.zip
Change on mmap to help some stagging version of wine
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d344a1c9..da2abdf9 100755
--- a/src/main.c
+++ b/src/main.c
@@ -1054,6 +1054,9 @@ int main(int argc, const char **argv, const char **env) {
         prgname = prog;
     else
         ++prgname;
+    if(box64_wine) {
+        AddPath("libdl.so.2", &ld_preload, 0);
+    }
     // special case for dontstarve that use an old SDL2
     if(strstr(prgname, "dontstarve")) {
         printf_log(LOG_INFO, "Dontstarve* detected, forcing emulated SDL2\n");