Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bartosz Bilas <b.bilas@grinn-global.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/cegui: select libglu when libgl is detected
Date: Tue, 28 Apr 2020 21:58:44 +0200	[thread overview]
Message-ID: <20200428195844.48124-2-b.bilas@grinn-global.com> (raw)
In-Reply-To: <20200428195844.48124-1-b.bilas@grinn-global.com>

Fixes:
  include/GL/glew.h:1205:14: fatal error: GL/glu.h: No such file or directory

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
 package/cegui/Config.in | 1 +
 package/cegui/cegui.mk  | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/cegui/Config.in b/package/cegui/Config.in
index f917be0cc5..0c7932098c 100644
--- a/package/cegui/Config.in
+++ b/package/cegui/Config.in
@@ -9,6 +9,7 @@ config BR2_PACKAGE_CEGUI
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_GLM
+	select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_HAS_LIBGL
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	help
 	  Crazy Eddie's GUI System is a free library providing windowing
diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk
index 0e3d015948..4aaa065818 100644
--- a/package/cegui/cegui.mk
+++ b/package/cegui/cegui.mk
@@ -16,7 +16,8 @@ CEGUI_DEPENDENCIES = glm \
 		$(if $(BR2_PACKAGE_HAS_LIBGL),libgl) \
 		$(if $(BR2_PACKAGE_HAS_LIBGLES),libgles) \
 		$(if $(BR2_PACKAGE_LIBGLEW),libglew) \
-		$(if $(BR2_PACKAGE_LIBICONV),libiconv)
+		$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
+		$(if $(BR2_PACKAGE_LIBGLU),libglu)
 
 ifeq ($(BR2_PACKAGE_LIBEPOXY)$(BR2_PACKAGE_LIBGLEW),y)
 CEGUI_DEPENDENCIES += libepoxy
-- 
2.26.2

  reply	other threads:[~2020-04-28 19:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-28 19:58 [Buildroot] [PATCH 1/2] package/cegui: force libglew when libepoxy is also enabled Bartosz Bilas
2020-04-28 19:58 ` Bartosz Bilas [this message]
2020-04-29 20:53   ` [Buildroot] [PATCH 2/2] package/cegui: select libglu when libgl is detected Thomas Petazzoni
2020-04-30 19:54     ` Bartosz Bilas
2020-05-02  9:39       ` Thomas Petazzoni
2020-05-03 17:15       ` Bernd Kuhls
2020-05-03 17:16   ` Bernd Kuhls
2020-05-09  8:28     ` Bartosz Bilas
2020-05-17 20:18       ` Bartosz Bilas
2020-04-29 20:50 ` [Buildroot] [PATCH 1/2] package/cegui: force libglew when libepoxy is also enabled Thomas Petazzoni
2020-04-30 19:50   ` Bartosz Bilas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200428195844.48124-2-b.bilas@grinn-global.com \
    --to=b.bilas@grinn-global.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox