From: Magnus Jacobsson Date: Sun, 2 Jan 2022 21:11:48 +0000 (+0100) Subject: plugin/gdiplus: define GVDLL to ensure correct storage-class attributes X-Git-Tag: 3.0.0~77^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27cb059c4b460d92992f5886219dd2074defb16f;p=graphviz plugin/gdiplus: define GVDLL to ensure correct storage-class attributes An upcoming commit will change the storage-class attributes to be controlled by the GVDLL symbol in gvplugin_gdiplus.c. Without this change, errors like this would occur: EXEC : error : failed to resolve gvplugin_gdiplus_LTX_library in C:\Users\magja\graphviz\Debug\Graphviz\bin\gvplugin_gdiplus.dll Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/plugin/gdiplus/gvplugin_gdiplus.vcxproj b/plugin/gdiplus/gvplugin_gdiplus.vcxproj index 0557020a7..888377929 100644 --- a/plugin/gdiplus/gvplugin_gdiplus.vcxproj +++ b/plugin/gdiplus/gvplugin_gdiplus.vcxproj @@ -54,6 +54,7 @@ Disabled $(ProjectDir);$(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;$(SolutionDir)lib\gvc;$(SolutionDir)lib\pathplan;%(AdditionalIncludeDirectories) + GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -75,6 +76,7 @@ $(ProjectDir);$(SolutionDir)windows\include;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;$(SolutionDir)lib\gvc;$(SolutionDir)lib\pathplan;%(AdditionalIncludeDirectories) + GVDLL;%(PreprocessorDefinitions) Level4 4996