[gtksourceview] Visual Studio builds: Enhance security of x64 binaries



commit 43e12d97315adae37e5970814486e658d09718d1
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Oct 20 18:04:10 2017 +0800

    Visual Studio builds: Enhance security of x64 binaries
    
    Use the HIGHENTROPYVA linker option on x64 builds with MSVC 2012 and
    later to enhance the security of the built binaries.
    
    Pointed out by Ignacio Casal Quinteiro.

 win32/vs10/gtksourceview4-build-defines.props |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/win32/vs10/gtksourceview4-build-defines.props b/win32/vs10/gtksourceview4-build-defines.props
index c62d968..5cf2b46 100644
--- a/win32/vs10/gtksourceview4-build-defines.props
+++ b/win32/vs10/gtksourceview4-build-defines.props
@@ -22,6 +22,10 @@
     <Link>
       
<AdditionalDependencies>gtk-3.0.lib;gdk-3.0.lib;gdk_pixbuf-2.0.lib;pangocairo-1.0.lib;pango-1.0.lib;atk-1.0.lib;gio-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;gthread-2.0.lib;glib-2.0.lib;intl.lib;cairo.lib;libxml2.lib;%(AdditionalDependencies)</AdditionalDependencies>
       
<AdditionalLibraryDirectories>$(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+      <AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='11.0|x64'">/HIGHENTROPYVA 
%(AdditionalOptions)</AdditionalOptions>
+      <AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='12.0|x64'">/HIGHENTROPYVA 
%(AdditionalOptions)</AdditionalOptions>
+      <AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='14.0|x64'">/HIGHENTROPYVA 
%(AdditionalOptions)</AdditionalOptions>
+      <AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='15.0|x64'">/HIGHENTROPYVA 
%(AdditionalOptions)</AdditionalOptions>
     </Link>
   </ItemDefinitionGroup>
   <ItemGroup>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]