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



commit 0f12c89ec13db0bf321e7bcd54798581600f1d14
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Oct 20 18:09:21 2017 +0800

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

 win32/vs12/rsvg-build-defines.props |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/win32/vs12/rsvg-build-defines.props b/win32/vs12/rsvg-build-defines.props
index fec5b42..31416dd 100644
--- a/win32/vs12/rsvg-build-defines.props
+++ b/win32/vs12/rsvg-build-defines.props
@@ -33,6 +33,7 @@ nmake -f rsvg-rust.mak CFG=$(Configuration)</RsvgRustNMakeCmd>
     <Link>
       
<AdditionalDependencies>gdk_pixbuf-2.0.lib;gio-2.0.lib;gobject-2.0.lib;glib-2.0.lib;cairo.lib;%(AdditionalDependencies)</AdditionalDependencies>
       
<AdditionalLibraryDirectories>$(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+      <AdditionalOptions Condition="'$(Platform)'=='x64'">/HIGHENTROPYVA 
%(AdditionalOptions)</AdditionalOptions>
     </Link>
   </ItemDefinitionGroup>
   <ItemGroup>


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