blob: 7481f9ec0f9edf4dc3acb6aac98ec75dcff59b84 (
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
|
$NetBSD: patch-ac,v 1.1.1.1 2004/09/24 21:16:02 dmcmahill Exp $
--- itk/configure.orig Wed Sep 8 01:23:51 2004
+++ itk/configure
@@ -6142,7 +6142,7 @@ echo $ECHO_N "checking for Tcl private i
TCL_INCLUDES="-I${TCL_GENERIC_DIR_NATIVE} -I${TCL_PLATFORM_DIR_NATIVE}"
else
- TCL_TOP_DIR_NATIVE='$(TCL_SRC_DIR)'
+ TCL_TOP_DIR_NATIVE='$(TCL_HEADER_DIR)'
TCL_GENERIC_DIR_NATIVE='${TCL_TOP_DIR_NATIVE}/generic'
TCL_UNIX_DIR_NATIVE='${TCL_TOP_DIR_NATIVE}/unix'
TCL_WIN_DIR_NATIVE='${TCL_TOP_DIR_NATIVE}/win'
@@ -9338,8 +9338,8 @@ fi
MAKE_STUB_LIB="\${STLIB_LD} -out:\$@ \$(PKG_STUB_OBJECTS)"
else
MAKE_STATIC_LIB="\${STLIB_LD} \$@ \$(PKG_OBJECTS)"
- MAKE_SHARED_LIB="\${SHLIB_LD} -o \$@ \$(PKG_OBJECTS) \${SHLIB_LD_FLAGS} \${SHLIB_LD_LIBS}"
- MAKE_STUB_LIB="\${STLIB_LD} \$@ \$(PKG_STUB_OBJECTS)"
+ MAKE_SHARED_LIB="\${SHLIB_LD} -o \${@:C/\.so.*/.la/} \${PKG_OBJECTS:.o=.lo} \${SHLIB_LDFLAGS} \${SHLIB_LD_LIBS} -version-info 0:0"
+ MAKE_STUB_LIB="\${SHLIB_LD} -o \${@:C/\.so.*/.la/} \${PKG_STUB_OBJECTS:.o=.lo} \${SHLIB_LDFLAGS} \${SHLIB_LD_LIBS} -version-info 0:0"
fi
if test "${SHARED_BUILD}" = "1" ; then
@@ -9407,7 +9407,7 @@ fi
if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes" ; then
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} \"`${CYGPATH} ${itcl_STUB_LIB_PATH}`\""
else
- SHLIB_LD_LIBS="${SHLIB_LD_LIBS} ${itcl_STUB_LIB_SPEC}"
+ SHLIB_LD_LIBS="${tkstub_LIB_SPEC} ${TCL_STUB_LIB_SPEC} ../itcl/itclStubLib.lo"
fi
#--------------------------------------------------------------------
|