From fec45088a53207a013e429962e6c57a40ccd7bde Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 8 Jan 2022 10:43:36 +0100 Subject: [PATCH] plugin/pango: MSBuild: define GVDLL to ensure correct storage-class attributes An upcoming commit which enables code that uses the Verbose global variable would otherwise cause this error: gvgetfontlist_pango.obj : error LNK2001: unresolved external symbol _Verbose Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- plugin/pango/gvplugin_pango.vcxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/pango/gvplugin_pango.vcxproj b/plugin/pango/gvplugin_pango.vcxproj index 89a1dc2a8..3ba96c6ae 100644 --- a/plugin/pango/gvplugin_pango.vcxproj +++ b/plugin/pango/gvplugin_pango.vcxproj @@ -52,6 +52,7 @@ Disabled $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\x86\include;$(SolutionDir)windows\dependencies\libraries\x86\include\cairo;$(SolutionDir)/libltdl;$(SolutionDir)/lib;$(SolutionDir)/windows/lib/cdt;$(SolutionDir)/;$(SolutionDir)/lib/sfpdpgen;$(SolutionDir)/lib/pathplan;$(SolutionDir)/lib/pack;$(SolutionDir)/lib/filter;$(SolutionDir)/lib/dotgen;$(SolutionDir)/lib/common;$(SolutionDir)/lib/gvc;$(SolutionDir)/lib/cdt;$(SolutionDir)/lib/cgraph;%(AdditionalIncludeDirectories) + GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -85,6 +86,7 @@ copy $(SolutionDir)windows\dependencies\libraries\x86\bin\pixman-1.dll $(OutDir) $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\x86\include;$(SolutionDir)windows\dependencies\libraries\x86\include\cairo;$(SolutionDir)/libltdl;$(SolutionDir)/lib;$(SolutionDir)/windows/lib/cdt;$(SolutionDir)/;$(SolutionDir)/lib/sfpdpgen;$(SolutionDir)/lib/pathplan;$(SolutionDir)/lib/pack;$(SolutionDir)/lib/filter;$(SolutionDir)/lib/dotgen;$(SolutionDir)/lib/common;$(SolutionDir)/lib/gvc;$(SolutionDir)/lib/cdt;$(SolutionDir)/lib/cgraph;%(AdditionalIncludeDirectories) + GVDLL;%(PreprocessorDefinitions) Level4 true -- 2.50.1