Skip to content

Commit 642a3fb

Browse files
fix macos building (#3987)
1 parent a65b400 commit 642a3fb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

profiling/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,8 @@ fn apple_linker_flags() {
575575
// Debug builds: allow all undefined symbols.
576576
println!("cargo:rustc-cdylib-link-arg=-undefined");
577577
println!("cargo:rustc-cdylib-link-arg=dynamic_lookup");
578+
println!("cargo:rustc-link-arg=-undefined");
579+
println!("cargo:rustc-link-arg=dynamic_lookup");
578580
return;
579581
}
580582

@@ -622,6 +624,7 @@ fn apple_linker_flags() {
622624
"_zend_empty_string",
623625
"_zend_extensions",
624626
"_zend_flf_functions",
627+
"_zend_flf_handlers",
625628
"_zend_gc_get_status",
626629
"_zend_generator_check_placeholder_frame",
627630
"_zend_get_executed_filename_ex",

0 commit comments

Comments
 (0)