From 213c31a49dcd404514cca73d084c48c3a388e2cb Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 15 Sep 2017 12:56:40 +0800 Subject: [PATCH] build: Change DLL naming in Visual Studio projects The previous commit to glib/glibconfig.h.win32.in, though it improves the state of GLib and fixes bugs, cannot be used as a drop-in replacement for code that builds against the previous glib/glibconfig.h(.win32.in) that were build using the Visual Studio projects. Change the DLL names as a result so that the likelihood of problems caused by replacing existing GLib DLLs can be reduced--code that was built against previous GLib MSVC builds should be rebuilt, so that things will work with the newer DLLs, instead of depending on the older DLLs. Note that if Visual Studio builds are done through Meson, existing code that link against GLib should be rebuilt as well, for the same reason. DLLs built with the Visual Studio projects from 2.55.0 onwards should be compatible with the ones that are built with Visual Studio via Meson. --- win32/vs10/glib-version-paths.props.in | 20 ++------------------ win32/vs9/glib-version-paths.vsprops.in | 22 ++-------------------- 2 files changed, 4 insertions(+), 38 deletions(-) diff --git a/win32/vs10/glib-version-paths.props.in b/win32/vs10/glib-version-paths.props.in index e711df9e8..f55157c5e 100644 --- a/win32/vs10/glib-version-paths.props.in +++ b/win32/vs10/glib-version-paths.props.in @@ -6,12 +6,8 @@ 2.0 ..\..\..\vs$(VSVer)\$(Platform) $(GlibEtcInstallRoot) - lib - -$(ApiVersion)-0 - - -2-vs$(VSVer) - $(GlibSeparateVSDllPrefix) - $(GlibSeparateVSDllSuffix) + + -2.0-0 c:\python34 c:\python34 c:\python34 @@ -37,18 +33,6 @@ $(CopyDir) - - $(GlibLibtoolCompatibleDllPrefix) - - - $(GlibLibtoolCompatibleDllSuffix) - - - $(GlibSeparateVSDllPrefix) - - - $(GlibSeparateVSDllSuffix) - $(GlibDllPrefix) diff --git a/win32/vs9/glib-version-paths.vsprops.in b/win32/vs9/glib-version-paths.vsprops.in index af7739fe3..c5c6c1b85 100644 --- a/win32/vs9/glib-version-paths.vsprops.in +++ b/win32/vs9/glib-version-paths.vsprops.in @@ -25,30 +25,12 @@ Value="$(GlibEtcInstallRoot)" /> - - - - -