summaryrefslogtreecommitdiff
path: root/graphics/libwmf/patches/patch-ad
blob: 56a2d161c6a3cc7fbd50b088b2beb25568225c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.2 2000/11/16 18:25:24 wiz Exp $

--- configure.orig	Thu Oct 19 16:10:42 2000
+++ configure
@@ -1520,7 +1520,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