pkgsrc/x11/gtk/patches/patch-af

16 lines
525 B
Text

$NetBSD: patch-af,v 1.2 1999/04/29 11:14:35 tron 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 $i != -Wl,-R@libdir@ ; then
if test -z "$my_glib_libs" ; then
my_glib_libs="$i"
else