From 31b7282d515996a6120c332d856e109bf08c9ee7 Mon Sep 17 00:00:00 2001 From: mdejong Date: Fri, 9 Nov 2001 07:11:26 +0000 Subject: * unix/Makefile.in: * unix/dltest/Makefile.in: Avoid adding libc to the LIBS variable since it is not needed when linking with CC. If required when linking with LD it should be done on a case by case basis in tcl.m4. --- ChangeLog | 9 +++++++++ unix/Makefile.in | 4 ++-- unix/dltest/Makefile.in | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 24e806f..f15ef27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2001-11-08 Mo DeJong + + * unix/Makefile.in: + * unix/dltest/Makefile.in: + Avoid adding libc to the LIBS variable since it + is not needed when linking with CC. If required + when linking with LD it should be done on a case + by case basis in tcl.m4. + 2001-11-08 David Gravereaux * win/rules.vc: diff --git a/unix/Makefile.in b/unix/Makefile.in index fef0ae9..c921d91 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.84 2001/11/08 03:43:47 mdejong Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.85 2001/11/09 07:11:26 mdejong Exp $ VERSION = @TCL_VERSION@ @@ -252,7 +252,7 @@ STUB_CC_SWITCHES = ${CFLAGS} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} \ ${AC_FLAGS} ${MATH_FLAGS} ${GENERIC_FLAGS} ${PROTO_FLAGS} ${MEM_DEBUG_FLAGS} \ ${COMPILE_DEBUG_FLAGS} ${ENV_FLAGS} -DTCL_SHLIB_EXT=\"${SHLIB_SUFFIX}\" -LIBS = @DL_LIBS@ @LIBS@ $(MATH_LIBS) -lc +LIBS = @DL_LIBS@ @LIBS@ $(MATH_LIBS) DEPEND_SWITCHES = ${CFLAGS} -I${GENERIC_DIR} -I${SRC_DIR} \ ${AC_FLAGS} ${MATH_FLAGS} \ diff --git a/unix/dltest/Makefile.in b/unix/dltest/Makefile.in index 98188aa..b12f7a4 100644 --- a/unix/dltest/Makefile.in +++ b/unix/dltest/Makefile.in @@ -1,11 +1,11 @@ # This Makefile is used to create several test cases for Tcl's load # command. It also illustrates how to take advantage of configuration # exported by Tcl to set up Makefiles for shared libraries. -# RCS: @(#) $Id: Makefile.in,v 1.6 1999/09/21 06:37:32 hobbs Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.7 2001/11/09 07:11:26 mdejong Exp $ TCL_DBGX = @TCL_DBGX@ CC = @CC@ -LIBS = @TCL_BUILD_STUB_LIB_SPEC@ @TCL_LIBS@ -lc +LIBS = @TCL_BUILD_STUB_LIB_SPEC@ @TCL_LIBS@ AC_FLAGS = @EXTRA_CFLAGS@ SHLIB_CFLAGS = @SHLIB_CFLAGS@ SHLIB_LD = @SHLIB_LD@ -- cgit v0.12