[PATCH] clients/gears: gears needs to link against libGL

Jesse Barnes jbarnes at virtuousgeek.org
Mon Jan 30 14:05:48 PST 2012


If you don't have cairo-gl, the gears build won't pick up the -lGL it
needs to build, so add it to Makefile.am.
---
 clients/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/clients/Makefile.am b/clients/Makefile.am
index b64c38a..32fe503 100644
--- a/clients/Makefile.am
+++ b/clients/Makefile.am
@@ -118,7 +118,7 @@ full_gl_client_programs =			\
 	wscreensaver
 
 gears_SOURCES = gears.c
-gears_LDADD = $(toolkit_libs)
+gears_LDADD = $(toolkit_libs) -lGL
 
 wscreensaver_SOURCES =				\
 	wscreensaver.c				\
-- 
1.7.4.1



More information about the wayland-devel mailing list