summaryrefslogtreecommitdiff
blob: 43c0d03d978ab55a8036e181f301f49812852a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/execve/ldso.c	2013-01-23 16:22:37.870287856 +0400
+++ src/execve/ldso.c	2013-01-23 16:31:40.219283675 +0400
@@ -285,16 +285,10 @@
 	/* 6. /lib, /usr/lib + /usr/local/lib  */
 	if (IS_CLASS32(elf_header))
 		status = add_host_ldso_paths(host_ldso_paths,
-#if defined(ARCH_X86) || defined(ARCH_X86_64)
-					"/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:"
-#endif
 					"/lib32:/usr/lib32:/usr/local/lib32"
 					":/lib:/usr/lib:/usr/local/lib");
 	else
 		status = add_host_ldso_paths(host_ldso_paths,
-#if defined(ARCH_X86_64)
-					"/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:"
-#endif
 					"/lib64:/usr/lib64:/usr/local/lib64"
 					":/lib:/usr/lib:/usr/local/lib");
 	if (status < 0)