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>
(cherry picked from commit 71cb0f0f72
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
1d41d5c77f
commit
226c1688be
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user