This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[PATCH/tk] Use BUILD stub lib spec
- From: Keith Seitz <keiths at redhat dot com>
- To: Insight Maling List <insight at sources dot redhat dot com>
- Date: Mon, 15 Jul 2002 17:42:47 -0700 (PDT)
- Subject: [PATCH/tk] Use BUILD stub lib spec
Hi,
This patch should fix some problems people have been seeing when building
Tk with --enable-shared.
Thanks to Mo and Phil for spotting and fixing this.
Keith
ChangeLog
2002-07-15 Keith Seitz <keiths@redhat.com>
From Mo DeJong <supermo@bayarea.net>:
* unix/configure.in: Use TCL_BUILD_STUB_LIB_SPEC instead of
TCL_STUB_LIB_SPEC when defining MAKE_LIB since we want to
link to the libtclstub in the build directory.
* unix/configure: Regenerated.
Patch
Index: tk/unix/configure.in
===================================================================
RCS file: /cvs/src/src/tk/unix/configure.in,v
retrieving revision 1.6
diff -p -r1.6 configure.in
*** tk/unix/configure.in 9 Feb 2002 18:54:17 -0000 1.6
--- tk/unix/configure.in 16 Jul 2002 00:38:39 -0000
*************** eval eval "TK_UNSHARED_LIB_SUFFIX=${UNSH
*** 434,440 ****
if test "${SHARED_BUILD}" = "1" -a "${SHLIB_SUFFIX}" != ""; then
TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
TCL_TOOL_SHARED_LIB_LONGNAME(TK_LIB_FILE, tk, ${TK_SHARED_LIB_SUFFIX})
! MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_STUB_LIB_SPEC} \${LIBS}"
RANLIB=":"
# TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
--- 434,440 ----
if test "${SHARED_BUILD}" = "1" -a "${SHLIB_SUFFIX}" != ""; then
TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
TCL_TOOL_SHARED_LIB_LONGNAME(TK_LIB_FILE, tk, ${TK_SHARED_LIB_SUFFIX})
! MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_BUILD_STUB_LIB_SPEC} \${LIBS}"
RANLIB=":"
# TCL_STUB_FLAGS="-DUSE_TCL_STUBS"