runtime loader: fix secondary arch search paths
This commit is contained in:
parent
d1251475e2
commit
bddca41824
@ -529,10 +529,10 @@ load_image(char const* name, image_type type, const char* rpath,
|
||||
if (type == B_APP_IMAGE) {
|
||||
#if __GNUC__ == 2
|
||||
if ((image->abi & B_HAIKU_ABI_MAJOR) == B_HAIKU_ABI_GCC_4)
|
||||
sSearchPathSubDir = "gcc4";
|
||||
sSearchPathSubDir = "x86";
|
||||
#elif __GNUC__ == 4
|
||||
if ((image->abi & B_HAIKU_ABI_MAJOR) == B_HAIKU_ABI_GCC_2)
|
||||
sSearchPathSubDir = "gcc2";
|
||||
sSearchPathSubDir = "x86_gcc2";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user