package/mpv: link with libatomic if needed

Fixes:
 - http://autobuild.buildroot.org/results/12f4580429427b6b546184366f74da16f83d692c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-08-15 23:57:30 +02:00 committed by Thomas Petazzoni
parent 19bd089004
commit 71cb0f0f72

View File

@ -235,4 +235,8 @@ else
MPV_CONF_OPTS += --disable-x11
endif
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
MPV_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -latomic"
endif
$(eval $(waf-package))