about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-02-08 16:49:02 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-02-08 16:49:02 +0100
commitb1f6ea8ae65d8e64ef988ed736eb2123b6a76d0e (patch)
treeee7218e46a7f541ceec1ba718f394aa045989bf3 /src/main.c
parent82ae65f477f1e8ca2f0950ddcb75556757b3ee6e (diff)
downloadbox64-b1f6ea8ae65d8e64ef988ed736eb2123b6a76d0e.tar.gz
box64-b1f6ea8ae65d8e64ef988ed736eb2123b6a76d0e.zip
More work on libcurl and friends (and set to used emulated version of curl if possible)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 42052218..d49dc48d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1212,13 +1212,14 @@ void LoadEnvVars(box64context_t *context)
             printf_log(LOG_INFO, "\n");
         }
     }
-    // add libssl and libcrypto, prefer emulated version because of multiple version exist
+    // add libssl and libcrypto (and a few other) to prefer emulated version because of multiple version exist
     AddPath("libssl.so.1", &context->box64_emulated_libs, 0);
     AddPath("libssl.so.1.0.0", &context->box64_emulated_libs, 0);
     AddPath("libcrypto.so.1", &context->box64_emulated_libs, 0);
     AddPath("libcrypto.so.1.0.0", &context->box64_emulated_libs, 0);
     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);
 
     if(getenv("BOX64_SSE_FLUSHTO0")) {
         if (strcmp(getenv("BOX64_SSE_FLUSHTO0"), "1")==0) {