Try adding the static_crt flag

This commit is contained in:
Anthony Moi
2021-09-02 16:55:40 +02:00
committed by Nicolas Patry
parent 3a129f3acd
commit 68703987f0

View File

@@ -2,6 +2,7 @@ fn main() {
cc::Build::new()
.cpp(true)
.flag("-std=c++11")
.static_crt(true)
.file("src/esaxx.cpp")
.include("src")
.compile("esaxx");