summaryrefslogtreecommitdiff
path: root/math/R/patches/patch-ad
blob: 4f7d72d3f4be76d1bf671e0c1328cc8c376089f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.6 2003/12/03 12:05:19 markd Exp $

--- src/scripts/SHLIB.in.orig	2003-04-04 05:31:58.000000000 +1200
+++ src/scripts/SHLIB.in
@@ -93,7 +93,7 @@ if ${with_f77}; then
 fi
 
 if test -f ${R_HOME}/bin/libR@DYLIB_EXT@; then
-  LIBR="-L${R_HOME}/bin -lR"
+  LIBR="-Wl,-R@prefix@/lib/R/bin -L${R_HOME}/bin -lR"
 else
   LIBR=
 fi