Skip to content

Commit

Permalink
improve to find tbox
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Oct 25, 2023
1 parent b0aefd8 commit ef20823
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/xmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ option_find_tbox() {
fi
add_cflags "${cflags}"
add_ldflags "${ldflags}"
if is_plat "linux" && is_arch "armv7"; then
# ubuntu armv7/armel maybe need it
if is_plat "linux" && is_arch "armv7" "arm"; then
add_ldflags "-latomic"
fi
option_end
Expand Down

0 comments on commit ef20823

Please sign in to comment.