Subject: 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.

From: "jan.nijtmans" <[email-masked]>
Date: Mon, 8 Jul 2013 06:49:44 +0000

---
 unix/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) $<
-- 
cgit v0.12