# HG changeset patch # User Lauri Tirkkonen # Date 1558297903 0 # Node ID 97b7d8b5d0f37a98dc2eb69c966728a1152685a7 # Parent 65bc63cd3d9ae7321777a173200417261a243640 sgs: add /lib/32 default lib paths for i386 diff -r 65bc63cd3d9a -r 97b7d8b5d0f3 usr/src/cmd/sgs/libld/common/globals.c --- 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). diff -r 65bc63cd3d9a -r 97b7d8b5d0f3 usr/src/cmd/sgs/libld/common/ldmain.c --- 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 /*