libgcrypt/libgcrypt-1.2.2-lib64.patch
Nalin Dahyabhai 884ac1e05f - remove file conflicts in libgcrypt-config by making the 64-bit version
think the libraries are in /usr/lib (which is wrong, but which it also
    prunes from the suggest --libs output)
2006-05-16 23:26:54 +00:00

15 lines
536 B
Diff

We should suppress an explicit -L on 64-bit arches, too.
--- libgcrypt-1.2.2/src/libgcrypt-config.in 2006-05-16 18:50:43.000000000 -0400
+++ libgcrypt-1.2.2/src/libgcrypt-config.in 2006-05-16 18:50:50.000000000 -0400
@@ -138,7 +138,8 @@
libs_final="$libs"
# 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/usr/lib64" -a "x$libdir" != "x/lib64"; then
libdirs="-L$libdir"
fi