blob: a27b1644a28a4dfdd951bfc3438725de9e13ae86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-aa,v 1.1.1.1 2008/10/13 11:29:53 shannonjr Exp $
--- config.orig 2007-01-14 11:57:19.000000000 -0700
+++ config
@@ -20,20 +20,8 @@ LIB_DIR= /usr/local/lib
# OS dependent
LIB_EXT= .so
-# if this "autoconf" doesn't work for you, set LIB_OPTION for shared
-# object manually.
-LD=$(shell ld -V -o /dev/null 2>&1)
-ifneq (,$(findstring Solaris,$(LD)))
- # Solaris - tested with 2.6, gcc 2.95.3 20010315 and Solaris ld
- LIB_OPTION= -G -dy
-else
- ifneq (,$(findstring GNU,$(LD)))
- # GNU ld
- LIB_OPTION= -shared -dy
- else
- $(error couldn't identify your ld. Please set the shared option manually)
- endif
-endif
+# GNU ld
+LIB_OPTION= -shared -dy
# Choose the PIC option
# safest, works on most systems
|