From bddca41824861df4c978b347099dd46ad4b14193 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 6 Aug 2013 03:45:06 +0200 Subject: [PATCH] runtime loader: fix secondary arch search paths --- src/system/runtime_loader/elf_load_image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/runtime_loader/elf_load_image.cpp b/src/system/runtime_loader/elf_load_image.cpp index fd90514541..63c41186f4 100644 --- a/src/system/runtime_loader/elf_load_image.cpp +++ b/src/system/runtime_loader/elf_load_image.cpp @@ -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 }