Descriptionmsvs: set $(TargetExt) when the "product_extension" is set
For node.js native modules, we set the "product_extension" to "node", so that
the resulting loadable_module has a ".node" file extension. On Windows, doing
this results in a msbuild warning along the lines of:
warning MSB8012: TargetExt(.dll) does not match the Linker's OutputFile
property value (.node). This may cause your project to build incorrectly.
To correct this, please make sure that $(OutDir), $(TargetName) and
$(TargetExt) property values match the value specified in %(Link.OutputFile).
This patch properly sets the $(TargetExt) variable to fix the warning.
BUG=
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|