summaryrefslogtreecommitdiff
path: root/security/libgcrypt/patches/patch-aa
blob: 68c3c3bdc0a770883d491ee38f2341bff447fb82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.4 2004/02/25 15:51:51 minskim Exp $

--- src/libgcrypt-config.in.orig	2004-02-18 12:33:53.000000000 -0600
+++ src/libgcrypt-config.in
@@ -158,9 +158,9 @@ if test "$echo_libs" = "yes"; then
 
     # Set up `libdirs'.
     if test "@libdir@" != "/usr/lib" ; then
-	libdirs="-L@libdir@"
+	libdirs="-L@libdir@ -Wl,-R@libdir@"
 	for i in $libs ; do
-	    if test "$i" = "-L@libdir@" ; then
+	    if test "$i" = "-L@libdir@ -Wl,-R@libdir@" ; then
 		libdirs=""
 	    fi
 	done