From: Magnus Jacobsson Date: Sun, 2 Jan 2022 21:11:48 +0000 (+0100) Subject: plugin/gd: define GVDLL to ensure correct storage-class attributes X-Git-Tag: 3.0.0~77^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eab5f8d134ef6fcf397558cae1ff98b7f4046209;p=graphviz plugin/gd: 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_gd.c. Without this change, errors like this would occur: EXEC : error : failed to resolve gvplugin_gd_LTX_library in C:\Users\magja\graphviz\Debug\Graphviz\bin\gvplugin_gd.dll Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- diff --git a/plugin/gd/gvplugin_gd.vcxproj b/plugin/gd/gvplugin_gd.vcxproj index b25ef4611..dc81bf2bb 100644 --- a/plugin/gd/gvplugin_gd.vcxproj +++ b/plugin/gd/gvplugin_gd.vcxproj @@ -52,6 +52,7 @@ Disabled $(SolutionDir)windows\include;$(SolutionDir)windows\dependencies\libraries\x86\include;$(SolutionDir)windows\dependencies\libraries\x86\include\cairo;$(SolutionDir)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;$(SolutionDir)lib\gvc;$(SolutionDir)lib\pathplan;%(AdditionalIncludeDirectories) + GVDLL;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -79,6 +80,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)lib;$(SolutionDir)lib\cdt;$(SolutionDir)lib\cgraph;$(SolutionDir)lib\common;$(SolutionDir)lib\gvc;$(SolutionDir)lib\pathplan;%(AdditionalIncludeDirectories) + GVDLL;%(PreprocessorDefinitions) MultiThreadedDLL Level4