Merge pull request #1006 from mapbox/linux_build_fix
Link with X11 explicitly
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user