summaryrefslogtreecommitdiff
path: root/x11/gtk/patches/patch-af
blob: 600f53ae5f73ac3d3c3e06e4265701c165e46d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-af,v 1.3 2003/10/04 18:03:26 danw Exp $

--- gtk-config.in.orig	Tue Feb  2 00:17:38 1999
+++ gtk-config.in	Thu Apr 29 12:13:36 1999
@@ -104,9 +104,9 @@
 
 if test "$echo_libs" = "yes"; then
       my_glib_libs=
-      libdirs=-L@libdir@
+      libdirs="-L@libdir@ -Wl,-R@libdir@"
       for i in $glib_libs ; do
-        if test $i != -L@libdir@ ; then
+        if test $i != -L@libdir@ -a x$i != x-Wl,-R@libdir@ ; then
           if test -z "$my_glib_libs" ; then
             my_glib_libs="$i"
           else