blob: cb58cd5ed27db236382685f72f5381e0fdc7f1f9 (
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
28
29
30
31
32
33
34
|
$NetBSD: patch-ab,v 1.6 2004/12/06 16:20:12 minskim Exp $
--- configure.orig 2004-09-30 23:25:07.000000000 -0500
+++ configure
@@ -7629,6 +7629,7 @@ fi
if test "x$xc_with_tcl" != "x" ; then
. $tcl_config_sh
. $tk_config_sh
+ LIBS="${LIBS} ${TCL_LIBS}"
if test "$TCL_VERSION" = "7.6" -a "$TK_VERSION" = "4.2" ; then
:
@@ -7704,7 +7705,7 @@ fi
if test "x$xc_with_tcl" != "x" ; then
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}"
;;
@@ -8244,9 +8245,9 @@ fi
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
;;
|