From eab5f8d134ef6fcf397558cae1ff98b7f4046209 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 2 Jan 2022 22:11:48 +0100 Subject: [PATCH] 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. --- plugin/gd/gvplugin_gd.vcxproj | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.40.0