2014-08-11 13:27:10 +02:00

28 lines
719 B
Plaintext

$NetBSD: patch-aa,v 1.2 2013/10/11 20:25:34 wiz Exp $
--- config.orig 2007-01-14 18:57:19.000000000 +0000
+++ 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