changeset 20621:97b7d8b5d0f3

sgs: add /lib/32 default lib paths for i386
author Lauri Tirkkonen <lotheac@iki.fi>
date Sun, 19 May 2019 20:31:43 +0000
parents 65bc63cd3d9a
children 73a3fcad7a66
files usr/src/cmd/sgs/libld/common/globals.c usr/src/cmd/sgs/libld/common/ldmain.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/sgs/libld/common/globals.c	Sun May 19 20:29:41 2019 +0000
+++ b/usr/src/cmd/sgs/libld/common/globals.c	Sun May 19 20:31:43 2019 +0000
@@ -53,7 +53,7 @@
  * part of the path processing.
  */
 char		def64_Plibpath[] = "/lib/64:/usr/lib/64";
-char		def32_Plibpath[] = "/lib:/usr/lib";
+char		def32_Plibpath[] = "/lib/32:/lib:/usr/lib/32:/usr/lib";
 
 /*
  * Rejected file error messages (indexed to match SGS_REJ_ values).
--- a/usr/src/cmd/sgs/libld/common/ldmain.c	Sun May 19 20:29:41 2019 +0000
+++ b/usr/src/cmd/sgs/libld/common/ldmain.c	Sun May 19 20:31:43 2019 +0000
@@ -60,7 +60,7 @@
 #if	defined(_ELF64)
 static char	def_Plibpath[] = "/lib/64:/usr/lib/64";
 #else
-static char	def_Plibpath[] = "/lib:/usr/lib";
+static char	def_Plibpath[] = "/lib/32:/lib:/usr/lib/32:/usr/lib";
 #endif
 
 /*