libassuan/libassuan-2.1.0-multilib.patch
2013-05-15 13:37:46 +02:00

29 lines
980 B
Diff

diff -up libassuan-2.1.0/src/libassuan-config.in.multilib libassuan-2.1.0/src/libassuan-config.in
--- libassuan-2.1.0/src/libassuan-config.in.multilib 2013-05-15 12:41:33.376279564 +0200
+++ libassuan-2.1.0/src/libassuan-config.in 2013-05-15 12:40:11.565515616 +0200
@@ -18,7 +18,7 @@ lib="@LIBASSUAN_CONFIG_LIB@"
extralibs="@LIBASSUAN_CONFIG_EXTRA_LIBS@ $gpg_error_libs"
cflags="@LIBASSUAN_CONFIG_CFLAGS@ $gpg_error_cflags"
api_version="@LIBASSUAN_CONFIG_API_VERSION@"
-my_host="@LIBASSUAN_CONFIG_HOST@"
+my_host="none"
prefix=@prefix@
exec_prefix=@exec_prefix@
includes=""
@@ -121,13 +121,7 @@ if test "$echo_cflags" = "yes"; then
fi
if test "$echo_libs" = "yes"; then
- if test "@libdir@" != "/usr/lib" ; then
- libdirs="-L@libdir@"
- for i in $lib $extralibs ; do
- if test "$i" = "-L@libdir@" ; then
- libdirs=""
- fi
- done
- fi
+ # libdir is always standard and implicitly searched
+ libdirs=""
echo $libdirs $lib $extralibs
fi