From a28e9ae37890d535686b55422f1ab99ddbf34837 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Sat, 27 Feb 2021 19:11:25 -0700 Subject: [PATCH] Add pthreads to includes for C files --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 0c18d7e8..8d780879 100644 --- a/build.rs +++ b/build.rs @@ -58,6 +58,7 @@ fn main() { .flag("-nostdlib") .include(&format!("{}/include", crate_dir)) .include(&format!("{}/target/include", crate_dir)) + .include(&format!("{}/pthreads-emb", crate_dir)) .flag("-fno-stack-protector") .flag("-Wno-expansion-to-defined") .files( -- GitLab