diff options
author | mdejong <mdejong> | 2003-04-03 02:24:11 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-04-03 02:24:11 (GMT) |
commit | 18f17ff4b787b7183764a21bc157390857b95d5f (patch) | |
tree | 63e94423a024dd237a38554c56a2b4ccf82b0cc3 /win/tcl.m4 | |
parent | 18d98caf85ba0de87a91682af5678f6bd580a778 (diff) | |
download | tcl-18f17ff4b787b7183764a21bc157390857b95d5f.zip tcl-18f17ff4b787b7183764a21bc157390857b95d5f.tar.gz tcl-18f17ff4b787b7183764a21bc157390857b95d5f.tar.bz2 |
* win/configure: Regen.
* win/configure.in: Set stub lib flag based
on new LIBFLAGSUFFIX variable.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Set new
LIBFLAGSUFFIX that works like LIBSUFFIX,
it is used when creating library names.
The previous implementation would generate
-ltclstub85 instead of -ltclstub85s when
configured with --disable-shared.
Diffstat (limited to 'win/tcl.m4')
-rw-r--r-- | win/tcl.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -477,6 +477,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ runtime= MAKE_DLL="echo " LIBSUFFIX="s\${DBGX}.a" + LIBFLAGSUFFIX="s\${DBGX}" LIBRARIES="\${STATIC_LIBRARIES}" EXESUFFIX="s\${DBGX}.exe" else @@ -500,6 +501,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ -Wl,--out-implib,\$(patsubst %.dll,lib%.a,\[$]@)" LIBSUFFIX="\${DBGX}.a" + LIBFLAGSUFFIX="\${DBGX}" EXESUFFIX="\${DBGX}.exe" LIBRARIES="\${SHARED_LIBRARIES}" fi @@ -543,6 +545,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ runtime=-MT MAKE_DLL="echo " LIBSUFFIX="s\${DBGX}.lib" + LIBFLAGSUFFIX="s\${DBGX}" LIBRARIES="\${STATIC_LIBRARIES}" EXESUFFIX="s\${DBGX}.exe" SHLIB_LD_LIBS="" @@ -553,6 +556,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ # Add SHLIB_LD_LIBS to the Make rule, not here. MAKE_DLL="\${SHLIB_LD} \$(LDFLAGS) -out:\[$]@" LIBSUFFIX="\${DBGX}.lib" + LIBFLAGSUFFIX="\${DBGX}" EXESUFFIX="\${DBGX}.exe" LIBRARIES="\${SHARED_LIBRARIES}" SHLIB_LD_LIBS='${LIBS}' |