summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2017-11-15 11:47:16 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2017-11-15 11:47:16 (GMT)
commit0197a30845c7644fe45ca1a4ec1fc0b9c9ee0c20 (patch)
treed72771ae41f77e164b55388c58950ad2c354ab34 /win
parentca86fd3219bf704113fa6abac8e5393fdbd38ca9 (diff)
downloadtcl-0197a30845c7644fe45ca1a4ec1fc0b9c9ee0c20.zip
tcl-0197a30845c7644fe45ca1a4ec1fc0b9c9ee0c20.tar.gz
tcl-0197a30845c7644fe45ca1a4ec1fc0b9c9ee0c20.tar.bz2
Include PKGNAMEFLAGS in stubscflags as some extension stubs use it
Diffstat (limited to 'win')
-rw-r--r--win/rules.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc
index fb35840..8db07bd 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -1325,7 +1325,7 @@ pkgcflags_nostubs = $(appcflags_nostubs) $(PKGNAMEFLAGS) -DBUILD_$(PROJECT)
# so we do not remove it from cflags. -GL may prevent extensions
# compiled with one VC version to fail to link against stubs library
# compiled with another VC version. Check for this and fix accordingly.
-stubscflags = $(cflags) $(PRJ_DEFINES) $(OPTDEFINES) -Zl -DSTATIC_BUILD $(INCLUDES)
+stubscflags = $(cflags) $(PKGNAMEFLAGS) $(PRJ_DEFINES) $(OPTDEFINES) -Zl -DSTATIC_BUILD $(INCLUDES)
# Link flags