diff options
author | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2023-07-21 08:19:36 +0200 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@debian.org> | 2023-07-21 08:19:36 +0200 |
commit | ec43803d47ecfd039ca7302d6e8da9982cd030ae (patch) | |
tree | 2733a72a4d56d7a14bf5ff2ce86cc7569d4b803f | |
parent | 55ff2f8227865d3dc04694cb37c2596dccc2b94c (diff) |
use-cross-libs
Gbp-Pq: Name use-cross-libs.patch
-rwxr-xr-x | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -976,6 +976,8 @@ void LoadEnvVars(box64context_t *context) AddPath("/lib/x86_64-linux-gnu", &context->box64_ld_lib, 1); if(FileExist("/usr/lib/x86_64-linux-gnu", 0)) AddPath("/usr/lib/x86_64-linux-gnu", &context->box64_ld_lib, 1); + if(FileExist("/usr/x86_64-linux-gnu/lib", 0)) + AddPath("/usr/x86_64-linux-gnu/lib", &context->box64_ld_lib, 1); if(getenv("LD_LIBRARY_PATH")) PrependList(&context->box64_ld_lib, getenv("LD_LIBRARY_PATH"), 1); // in case some of the path are for x86 world if(getenv("BOX64_EMULATED_LIBS")) { |