mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
Support non ascii commandline args (#14197)
Using none ASCII chars for protoc on Windows are not handled well.
This adresses argument file at a location where either directory, or filename contains Unicode chars.
Specifically because MsBuild tool saves argument file in with the UserName appended to the .rsp file.
https://github.com/dotnet/msbuild/pull/9232
But in general we should really handle if none ascii chars are in the path.
Closes #14197
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/14197 from hknielsen:support-non-ascii-commandline-args 673d575665
PiperOrigin-RevId: 568722987
This commit is contained in:
parent
caa462715c
commit
8fc0544228
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ LINK_OPTS = select({
|
|||
"//build_defs:config_msvc": [
|
||||
# Suppress linker warnings about files with no symbols defined.
|
||||
"-ignore:4221",
|
||||
"/utf-8",
|
||||
],
|
||||
"@platforms//os:macos": [
|
||||
"-lpthread",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue