We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 633c5ad commit f93b642Copy full SHA for f93b642
1 file changed
compile_rust.sh
@@ -9,4 +9,10 @@ if test -n "$SHARED"; then
9
RUSTFLAGS="$RUSTFLAGS --cfg php_shared_build"
10
fi
11
12
+case "$OSTYPE" in
13
+ darwin*)
14
+ RUSTFLAGS="$RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup";
15
+ ;;
16
+esac
17
+
18
RUSTFLAGS="$RUSTFLAGS" RUSTC_BOOTSTRAP=1 "${DDTRACE_CARGO:-cargo}" build $(test "${PROFILE:-debug}" = "debug" || echo --profile "$PROFILE") "$@"
0 commit comments