From 76cca7ad2e1db4907dbd3d0fee0fbd09f3afd910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 8 May 2016 22:06:57 +0200 Subject: [PATCH] Expand the search dirs for the linker script. (#3530) --- distribution/linux/ld_script_i386.xc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/linux/ld_script_i386.xc b/distribution/linux/ld_script_i386.xc index 5e3b3be7be..4573a92d03 100644 --- a/distribution/linux/ld_script_i386.xc +++ b/distribution/linux/ld_script_i386.xc @@ -8,7 +8,7 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") OUTPUT_ARCH(i386) ENTRY(_start) -SEARCH_DIR("/usr/i386-unknown-linux-gnu/lib32"); SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib32"); SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/usr/i386-unknown-linux-gnu/lib"); +SEARCH_DIR("/usr/i386-unknown-linux-gnu/lib32"); SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib32"); SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/lib32"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/usr/local/lib32"); SEARCH_DIR("/usr/i386-unknown-linux-gnu/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/lib32"); SECTIONS { /* Read-only sections, merged into text segment: */