blob: 66e6f4fc8f6a83bc670610e1cce27fdf6c9c2150 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ac,v 1.2 2004/06/02 06:56:07 itojun Exp $
--- chicken-config.in.orig 2004-05-21 06:21:00.000000000 +0900
+++ chicken-config.in 2004-06-02 15:31:38.000000000 +0900
@@ -49,7 +49,11 @@
# standard library directory.
case "%libdir%" in
/usr/lib|"") LIBDIR=;;
- *) LIBDIR=-L%libdir%;;
+ *) LIBDIR="-L%libdir%"
+ if [ `uname -s` = "NetBSD" ]; then
+ LIBDIR="$LIBDIR -Wl,-R%libdir%"
+ fi
+ ;;
esac
UNSAFE=""
|