Message ID | 20110720153534.9174.67868.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'wscript' --- wscript 2011-07-18 15:00:13 +0000 +++ wscript 2011-07-20 15:33:07 +0000 @@ -69,9 +69,9 @@ mandatory = True) # Check conditional packages - req_pkgs = [('egl', 'egl', ctx.env.BUILD_EGL_ES2), + req_pkgs = [('egl', 'egl', ctx.env.BUILD_EGL_ES2 or ctx.env.BUILD_EGL_GL), ('glesv2', 'glesv2', ctx.env.BUILD_EGL_ES2), - ('gl', 'gl', ctx.env.BUILD_GLX)] + ('gl', 'gl', ctx.env.BUILD_GLX or ctx.env.BUILD_EGL_GL)] for (pkg, uselib, check_for) in req_pkgs: if check_for: ctx.check_cfg(package = pkg, uselib_store = uselib, args = '--cflags --libs',