Skip to content

Commit 46f081e

Browse files
committed
fix build with gcc + locale
1 parent a79f9e8 commit 46f081e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

couchbase-lite-core-sys/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ fn cc_system_include_dirs() -> Result<(Vec<PathBuf>, Vec<PathBuf>), String> {
240240
let cc_process = cc_build
241241
.get_compiler()
242242
.to_command()
243+
.env("LANG", "C")
244+
.env("LC_MESSAGES", "C")
243245
.args(&["-v", "-x", "c", "-E", "-"])
244246
.stderr(Stdio::piped())
245247
.stdin(Stdio::piped())

0 commit comments

Comments
 (0)