Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite81ef23

Browse files
authored
solve macos compilation problem (#43)
1 parent8d99c6b commite81ef23

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎phper/build.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ use phper_sys::*;
1212

1313
fnmain(){
1414
phper_build::register_configures();
15+
16+
#[cfg(target_os ="macos")]
17+
{
18+
println!("cargo:rustc-cdylib-link-arg=-undefined");
19+
println!("cargo:rustc-cdylib-link-arg=dynamic_lookup");
20+
}
21+
1522
assert_eq!(
1623
USING_ZTS,0,
1724
"PHPER not support ZTS mode now (php built with `--enable-maintainer-zts` or\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp