1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix(ext/napi): export dynamic symbols list for {Free,Open}BSD (#26605)

The two BSD ports are reusing the Linux code here.
This commit is contained in:
Volker Schlecht 2024-10-29 15:11:49 +01:00 committed by GitHub
parent efb5e912e5
commit 51978a7654
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -662,7 +662,11 @@ pub fn print_linker_flags(name: &str) {
symbols_path, symbols_path,
); );
#[cfg(target_os = "linux")] #[cfg(any(
target_os = "linux",
target_os = "freebsd",
target_os = "openbsd"
))]
println!( println!(
"cargo:rustc-link-arg-bin={name}=-Wl,--export-dynamic-symbol-list={}", "cargo:rustc-link-arg-bin={name}=-Wl,--export-dynamic-symbol-list={}",
symbols_path, symbols_path,