summaryrefslogtreecommitdiff
path: root/print/mp/patches/patch-aa
blob: 5be885ad64d6f430c6b679d65d00fcfc9b4e8ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.3 2000/09/24 14:37:28 hubertf Exp $

--- configure.orig	Sun Sep 24 16:30:11 2000
+++ configure
@@ -2247,7 +2247,7 @@
 
   # It would also be nice to do this for all -L options, not just this one.
   if test -n "$x_libraries"; then
-    X_LIBS="$X_LIBS -L$x_libraries"
+    X_LIBS="$X_LIBS -L$x_libraries -Wl,-R$x_libraries"
     # For Solaris; some versions of Sun CC require a space after -R and
     # others require no space.  Words are not sufficient . . . .
     case "`(uname -sr) 2>/dev/null`" in