public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH/tk] Use BUILD stub lib spec
@ 2002-07-15 17:42 Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2002-07-15 17:42 UTC (permalink / raw)
  To: Insight Maling List

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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-16  0:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-15 17:42 [PATCH/tk] Use BUILD stub lib spec Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).