mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 14:22:47 +08:00
Fix unescaped backslash in path to gperf
This commit is contained in:
parent
5826d9a058
commit
6894e4583a
13
ports/fontconfig/fix-gperf-path-windows.patch
Normal file
13
ports/fontconfig/fix-gperf-path-windows.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index 0ef22d3..9e6f958 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -342,7 +342,7 @@ else
|
||||||
|
@1@
|
||||||
|
'''
|
||||||
|
gperf_snippet_format = 'echo foo,bar | @0@ -L ANSI-C'
|
||||||
|
- gperf_snippet = run_command(sh, '-c', gperf_snippet_format.format(gperf.full_path()),
|
||||||
|
+ gperf_snippet = run_command(sh, '-c', gperf_snippet_format.format(gperf.full_path().replace('\\', '/')),
|
||||||
|
check: true)
|
||||||
|
gperf_test = gperf_test_format.format('size_t', gperf_snippet.stdout())
|
||||||
|
|
@ -12,6 +12,7 @@ vcpkg_from_gitlab(
|
|||||||
libgetopt.patch
|
libgetopt.patch
|
||||||
fix-mingw-gperf-fallback.patch
|
fix-mingw-gperf-fallback.patch
|
||||||
fix-preprocessor-clang-cl.patch
|
fix-preprocessor-clang-cl.patch
|
||||||
|
fix-gperf-path-windows.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/gperf")
|
vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/gperf")
|
||||||
|
Loading…
Reference in New Issue
Block a user