Skip to content

Commit 2c932e0

Browse files
authored
fix: cxx_cfg sourced from wrong field in config (#114)
1 parent 838ffb2 commit 2c932e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ impl Config {
425425
if !ndk {
426426
c_cfg.target(&target);
427427
}
428-
let mut cxx_cfg = self.c_cfg.clone().unwrap_or_default();
428+
let mut cxx_cfg = self.cxx_cfg.clone().unwrap_or_default();
429429
cxx_cfg
430430
.cargo_metadata(false)
431431
.cpp(true)

0 commit comments

Comments
 (0)