From c5c6010a2bf1b5054441c974db9a4cd7709dc7e3 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Sun, 1 May 2022 13:06:40 +0200 Subject: [PATCH] package/glslsandbox-player: fix build with libexecinfo Fix build failure raised on uclibc and musl since the addition of libexecinfo package in commit: eea8ba446c10701a273432552108d80fb2224ef4 Fixes: - http://autobuild.buildroot.net/results/9591ffe5968fe5f20b29799d1c234426cacd549a Signed-off-by: Julien Olivain Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 99113727d6458fff1aaae7f9e9305f9b657d4263) Signed-off-by: Peter Korsgaard --- package/glslsandbox-player/glslsandbox-player.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/glslsandbox-player/glslsandbox-player.mk b/package/glslsandbox-player/glslsandbox-player.mk index c5fbf062b7..70bd5ca370 100644 --- a/package/glslsandbox-player/glslsandbox-player.mk +++ b/package/glslsandbox-player/glslsandbox-player.mk @@ -12,6 +12,11 @@ GLSLSANDBOX_PLAYER_DEPENDENCIES = libegl libgles host-pkgconf GLSLSANDBOX_PLAYER_LICENSE = BSD-2-Clause GLSLSANDBOX_PLAYER_LICENSE_FILES = LICENSE +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += libexecinfo +GLSLSANDBOX_PLAYER_CONF_ENV += LIBS="-lexecinfo" +endif + ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_PNG),y) GLSLSANDBOX_PLAYER_DEPENDENCIES += libpng GLSLSANDBOX_PLAYER_CONF_OPTS += --with-libpng