27 lines
729 B
Text
27 lines
729 B
Text
$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
|