From db33c55d8b3a2e1d83e6d528203dda007a5ad86a Mon Sep 17 00:00:00 2001 From: geisserml Date: Fri, 7 Apr 2023 19:10:03 +0200 Subject: [PATCH] Sync windows patch with pdfium-binaries https://github.com/bblanchon/pdfium-binaries/commit/74fbd3b4632c3e035cbf008a6908e3b8f533f0ba --- sourcebuild/patches/win/build.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sourcebuild/patches/win/build.patch b/sourcebuild/patches/win/build.patch index 35dd3b996..5a62bb1d7 100644 --- a/sourcebuild/patches/win/build.patch +++ b/sourcebuild/patches/win/build.patch @@ -1,12 +1,12 @@ diff --git a/toolchain/win/toolchain.gni b/toolchain/win/toolchain.gni -index e7fd62098..b5b034765 100644 +index 968a4a20e..536295050 100644 --- a/toolchain/win/toolchain.gni +++ b/toolchain/win/toolchain.gni -@@ -230,7 +230,7 @@ template("msvc_toolchain") { +@@ -235,7 +235,7 @@ template("single_msvc_toolchain") { } tool("rc") { -- command = "$python_path $_tool_wrapper_path rc-wrapper $env rc.exe /nologo $sys_include_flags{{defines}} {{include_dirs}} /fo{{output}} {{source}}" +- command = "\"$python_path\" $_tool_wrapper_path rc-wrapper $env rc.exe /nologo $sys_include_flags{{defines}} {{include_dirs}} /fo{{output}} {{source}}" + command = "rc.exe /nologo $sys_include_flags{{defines}} {{include_dirs}} /fo{{output}} {{source}}" depsformat = "msvc" outputs = [ "$object_subdir/{{source_name_part}}.res" ]