blob: 629fe44e05d9ac7b2af9613800af197a5a1af8fa (
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
|
$NetBSD: patch-ab,v 1.4 2003/08/04 07:17:37 jmc Exp $
--- configure.orig Wed May 21 21:27:56 2003
+++ configure Mon Aug 4 01:45:35 2003
@@ -7466,7 +7466,7 @@
fi
case $target in
- *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|OpenBSD-*)
+ *-sunos4*|*-*-netbsd|*-*-netbsdelf|NetBSD-*|FreeBSD-*|OpenBSD-*)
TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
;;
@@ -7989,9 +7989,9 @@
if test "$test_ok" = yes; then
- SHLIB_CFLAGS="-fpic"
- SHLIB_LD="ld"
- LDDL_FLAGS="-Bshareable -x ${LIB_SPEC}"
+ SHLIB_CFLAGS="-fPIC"
+ SHLIB_LD=$CC
+ LDDL_FLAGS="-shared"
fi
;;
|