Workaround Broken Library Search Path On Some ARM 32-Bit Systems

This commit is contained in:
TheBrokenRail 2021-07-06 20:26:19 -04:00
parent 8f782099da
commit d114a2d668
3 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
2.1.2
2.1.3

View File

@ -1,5 +1,8 @@
# Changelog
**2.1.3**
* Workaround Broken Library Search Path On Some ARM 32-Bit Systems
**2.1.2**
* Fix Library Loading On ARM 32-Bit Systems

View File

@ -143,6 +143,10 @@ void bootstrap(int argc, char *argv[]) {
string_append(&new_ld_path, ":%s", value);
}
}
// Load ARM Libraries
#ifdef __ARM_ARCH
string_append(&new_ld_path, "%s", ":/usr/lib/arm-linux-gnueabihf:/usr/arm-linux-gnueabihf/lib");
#endif
// Add Full Library Search Path
{
char *value = get_full_library_search_path();