Blame SOURCES/libassuan-2.5.2-multilib.patch

31e046
diff -up libassuan-2.5.2/src/libassuan-config.in.multilib libassuan-2.5.2/src/libassuan-config.in
31e046
--- libassuan-2.5.2/src/libassuan-config.in.multilib	2019-01-08 16:31:11.042204893 +0100
31e046
+++ libassuan-2.5.2/src/libassuan-config.in	2019-01-08 16:31:20.026048884 +0100
31e046
@@ -19,7 +19,7 @@ lib="@LIBASSUAN_CONFIG_LIBS@"
31e046
 extralibs="$gpg_error_libs"
31e046
 cflags="@LIBASSUAN_CONFIG_CFLAGS@ $gpg_error_cflags"
31e046
 api_version="@LIBASSUAN_CONFIG_API_VERSION@"
31e046
-my_host="@LIBASSUAN_CONFIG_HOST@"
31e046
+my_host="myhost"
31e046
 prefix=@prefix@
31e046
 exec_prefix=@exec_prefix@
31e046
 includes=""
31e046
@@ -131,13 +131,7 @@ if test "$echo_cflags" = "yes"; then
31e046
 fi
31e046
 
31e046
 if test "$echo_libs" = "yes"; then
31e046
-    if test "@libdir@" != "/usr/lib" ; then
31e046
-      libdirs="-L@libdir@"
31e046
-      for i in $lib $extralibs ; do
31e046
-	if test "$i" = "-L@libdir@" ; then
31e046
-	  libdirs=""
31e046
-	fi
31e046
-      done
31e046
-    fi
31e046
+    # libdir is always standard and implicitly searched
31e046
+    libdirs=""
31e046
     echo $libdirs $lib $extralibs
31e046
 fi