From d68fc8b7a50af3f18598d8050ba63e21681a17e5 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Mon, 3 Jan 2022 07:20:54 +0100 Subject: [PATCH] xdot: MSBuild: define GVDLL to ensure correct storage-class attributes An upcoming commit will change the storage-class attributes in xdot.h to be controlled by the GVDLL symbol. Without this change, errors like this would occur in lib/gvc: LINK : fatal error LNK1104: cannot open file 'C:\Users\magja\graphviz\Debug\Graphviz\bin\xdot.lib' Done building project "gvc.vcxproj" -- FAILED. Towards https://gitlab.com/graphviz/graphviz/-/issues/2173. --- lib/xdot/xdot.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/xdot/xdot.vcxproj b/lib/xdot/xdot.vcxproj index bbb0f7138..8cc985c3d 100644 --- a/lib/xdot/xdot.vcxproj +++ b/lib/xdot/xdot.vcxproj @@ -52,7 +52,7 @@ Disabled $(ProjectDir);$(SolutionDir)\lib;%(AdditionalIncludeDirectories) - EXPORT_XDOT;_DEBUG;_LIB;%(PreprocessorDefinitions) + GVDLL;EXPORT_XDOT;_DEBUG;_LIB;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -70,7 +70,7 @@ $(ProjectDir);$(SolutionDir)\lib;%(AdditionalIncludeDirectories) - EXPORT_XDOT;NDEBUG;_LIB;%(PreprocessorDefinitions) + GVDLL;EXPORT_XDOT;NDEBUG;_LIB;%(PreprocessorDefinitions) Level4 true -- 2.50.1