diff options
author | mdejong <mdejong> | 2003-04-03 10:03:02 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-04-03 10:03:02 (GMT) |
commit | 242deb427441a2cfc788543d213ae3f3e032fbd8 (patch) | |
tree | 6189e40c52d7d5ca601b43f3f3c77d4e7f626dbf /win/tcl.m4 | |
parent | 68febb66350aa26c585f191960ccb474d5c75b36 (diff) | |
download | tcl-242deb427441a2cfc788543d213ae3f3e032fbd8.zip tcl-242deb427441a2cfc788543d213ae3f3e032fbd8.tar.gz tcl-242deb427441a2cfc788543d213ae3f3e032fbd8.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}' |