Skip to content

Commit

Permalink
chore(deps): do not link libatomic with libwee8 on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Feb 14, 2024
1 parent fda6087 commit 0544651
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ case $ngx_wasm_runtime_name in
ngx_wasm_runtime_srcs="$ngx_addon_dir/src/wasm/wrt/ngx_wrt_v8.c"
ngx_wasm_runtime_lib_name="wee8"
ngx_wasm_runtime_pre_libs="-lv8bridge"
ngx_wasm_runtime_post_libs="-ldl -lm -lpthread -lstdc++"
ngx_wasm_runtime_post_libs="-ldl -lm -lpthread -lstdc++ -latomic"

if [ "$NGX_SYSTEM" = "Darwin" ]; then
ngx_wasm_runtime_post_libs="-ldl -lm -lpthread -lstdc++"
fi

ngx_wasm_cargo_lib_name=ngx_wasm_rs
ngx_wasm_cargo_lib_dir=$ngx_addon_dir/lib/ngx-wasm-rs
Expand Down

0 comments on commit 0544651

Please sign in to comment.