[Buildroot] [git commit] package/mpv: link with libatomic if needed
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Aug 16 09:27:13 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=71cb0f0f722875100cd18df9484a7a30f53bfbeb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
- http://autobuild.buildroot.org/results/12f4580429427b6b546184366f74da16f83d692c
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/mpv/mpv.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk
index 8619de5a8e..6801a0468f 100644
--- a/package/mpv/mpv.mk
+++ b/package/mpv/mpv.mk
@@ -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))
More information about the buildroot
mailing list