runtime loader: fix secondary arch search paths

This commit is contained in:
Ingo Weinhold 2013-08-06 03:45:06 +02:00
parent d1251475e2
commit bddca41824

View File

@ -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
}