summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-03-06 08:33:15 +0530
committerGitHub <noreply@github.com>2024-03-06 08:33:15 +0530
commitadb0226927da8f90892c3a1988c4a2baf5190536 (patch)
tree906010f6929e7a084d137c40e5e162f65328847d /cli/build.rs
parentbebbb61eea818c83a12c9dedd593016e442805a2 (diff)
chore: Reuse linux symbols list on openbsd and freebsd (#22706)
Diffstat (limited to 'cli/build.rs')
-rw-r--r--cli/build.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/build.rs b/cli/build.rs
index 8dc3dcb75..dee5b5923 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -384,7 +384,9 @@ fn main() {
}
let symbols_file_name = match env::consts::OS {
- "android" => "generated_symbol_exports_list_linux.def".to_string(),
+ "android" | "freebsd" | "openbsd" => {
+ "generated_symbol_exports_list_linux.def".to_string()
+ }
os => format!("generated_symbol_exports_list_{}.def", os),
};
let symbols_path = std::path::Path::new("napi")