summaryrefslogtreecommitdiff
path: root/math/cassowary/patches/patch-ab
blob: 299b0e14f69bdc3defe631a593e3cfc1f010cf4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.3 2000/07/31 06:58:36 jlam Exp $

--- cassowary-config.in.orig	Wed Sep  8 01:22:13 1999
+++ cassowary-config.in	Mon Jul 31 00:53:49 2000
@@ -4,7 +4,7 @@
 
 # gotten from LDADD in c++/Makefile.am
 cassowary_gtllibs="@GTL_LIB@"
-cassowary_libs="-L@prefix@/lib $cassowary_gtllibs"
+cassowary_libs="-Wl,-R@prefix@/lib -L@prefix@/lib $cassowary_gtllibs"
 cassowary_cflags="@GUILE_INCLUDES@ @GTL_INCLUDES@"
 
 prefix=@prefix@
@@ -94,7 +94,7 @@
 fi
 
 if test "$echo_libs" = "yes"; then
-      echo -L@libdir@ -lcassowary -lstdc++ $cassowary_libs
+      echo -Wl,-R@libdir@ -L@libdir@ -lcassowary -lstdc++ $cassowary_libs
 fi
 
 if test "$echo_gtllibs" = "yes"; then