summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-08 06:49:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-07-08 06:49:44 (GMT)
commit2a8fc2f6742ccb70838789cfb3c3713cc6fe681d (patch)
tree178bbd5d7c01ae26181efeabe52dfe24748be897
parent29bb4e46858b3dc971489d3c6c633ae3028304fc (diff)
downloadtcl-2a8fc2f6742ccb70838789cfb3c3713cc6fe681d.zip
tcl-2a8fc2f6742ccb70838789cfb3c3713cc6fe681d.tar.gz
tcl-2a8fc2f6742ccb70838789cfb3c3713cc6fe681d.tar.bz2
Build stub objects with -DSTATIC_BUILD on all platforms. Only important on win32 (already done) and cygwin, on other platforms it should not have any effect.
-rw-r--r--unix/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 34c7165..f6c4424 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -1529,7 +1529,7 @@ waitpid.o: $(COMPAT_DIR)/waitpid.c
# even though they will be placed in a static archive
tclStubLib.o: $(GENERIC_DIR)/tclStubLib.c
- $(CC) -c $(STUB_CC_SWITCHES) $(GENERIC_DIR)/tclStubLib.c
+ $(CC) -c $(STUB_CC_SWITCHES) -DSTATIC_BUILD $(GENERIC_DIR)/tclStubLib.c
.c.o:
$(CC) -c $(CC_SWITCHES) $<