mpv: Link libatomic on riscv64

gcc uses __atomic_compare_exchange_1 which is not implemented for rv64

Fixes
video/out/vo_libmpv.c:186: undefined reference to `__atomic_compare_exchange_1'
collect2: error: ld returned 1 exit status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2021-03-08 14:22:16 -08:00
parent 58ddb1445b
commit bbc3b9dd0f

View File

@ -26,6 +26,8 @@ S = "${WORKDIR}/git"
inherit waf pkgconfig mime-xdg
LDFLAGS_append_riscv64 = " -latomic"
LUA ?= "lua"
LUA_mips64 = ""
LUA_aarch64 = ""