diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2017-11-15 11:47:16 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2017-11-15 11:47:16 (GMT) |
commit | 0197a30845c7644fe45ca1a4ec1fc0b9c9ee0c20 (patch) | |
tree | d72771ae41f77e164b55388c58950ad2c354ab34 /win | |
parent | ca86fd3219bf704113fa6abac8e5393fdbd38ca9 (diff) | |
download | tcl-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.vc | 2 |
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
|