From d66b24f58f7744e6fc5bf78b581c65a5cd3265a5 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Mon, 16 Mar 2015 10:50:34 +0200 Subject: Link with X11 explicitly We are using X11 symbols directly like XFree() so we need to link with it explicitly. Previously these symbols were being resolved somehow by libGL, but apparently they are now hidden - good - in the custom version we are using since 5e40f72b7. Fixes #1005. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index a60fd52d04..1d68f5e54b 100755 --- a/configure +++ b/configure @@ -128,8 +128,8 @@ if [ ! -z ${GLFW_VERSION} ]; then fi if [ ${MASON_PLATFORM} == 'linux' ]; then - CONFIG+=" 'opengl_cflags%': $(quote_flags $(pkg-config gl --cflags)),"$LN - CONFIG+=" 'opengl_ldflags%': $(quote_flags $(pkg-config gl --libs)),"$LN + CONFIG+=" 'opengl_cflags%': $(quote_flags $(pkg-config gl x11 --cflags)),"$LN + CONFIG+=" 'opengl_ldflags%': $(quote_flags $(pkg-config gl x11 --libs)),"$LN else CONFIG+=" 'opengl_cflags%': $(quote_flags),"$LN CONFIG+=" 'opengl_ldflags%': $(quote_flags),"$LN -- cgit v1.2.1