mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 00:29:09 -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:
parent
99febad5e2
commit
6f6879327c
1 changed files with 5 additions and 1 deletions
|
@ -662,7 +662,11 @@ pub fn print_linker_flags(name: &str) {
|
|||
symbols_path,
|
||||
);
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(any(
|
||||
target_os = "linux",
|
||||
target_os = "freebsd",
|
||||
target_os = "openbsd"
|
||||
))]
|
||||
println!(
|
||||
"cargo:rustc-link-arg-bin={name}=-Wl,--export-dynamic-symbol-list={}",
|
||||
symbols_path,
|
||||
|
|
Loading…
Reference in a new issue