Do not print standard multiarch path

{/usr,}/lib/i386-linux-gnu are in the standard search path, there is no
need to explicitly point gcc there with a -L argument.
Also we are installing the actual library and the so-symlink in different
locations which makes this incorrect no matter which one we choose.
Origin: vendor
Forwarded: not-needed

Gbp-Pq: Name 15_multiarchpath_in_-L.diff
This commit is contained in:
Ubuntu Developers 2022-05-14 00:51:31 +08:00 committed by openKylinBot
parent 82dfcdef52
commit 68d9d20c79
1 changed files with 2 additions and 1 deletions

View File

@ -152,9 +152,10 @@ fi
if test "$echo_libs" = "yes"; then
libdirs=""
libs_final="$libs"
debianmultiarch=`if which dpkg-architecture > /dev/null ; then dpkg-architecture -qDEB_HOST_MULTIARCH ; fi`
# Set up `libdirs'.
if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then
if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib" -a "x$libdir" != "x/lib/${debianmultiarch}" ; then
libdirs="-L$libdir"
fi