From 982609f4cf2afc4e0afd450aa24907986bca41ab Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 11 Feb 2011 17:38:54 +0000 Subject: scons: builtin_glsl_function on windows needs bundled getopt. --- src/SConscript | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/SConscript') diff --git a/src/SConscript b/src/SConscript index d5cde1c964..f11894f299 100644 --- a/src/SConscript +++ b/src/SConscript @@ -1,9 +1,17 @@ Import('*') + if env['platform'] == 'windows': SConscript('getopt/SConscript') SConscript('glsl/SConscript') + +if env['hostonly']: + # We are just compiling the things necessary on the host for cross + # compilation + Return() + + # When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not # used. libgl-xlib and libgl-gdi adapt themselves to use the targets defined # in mapi/glapi-shared/SConscript. mesa/SConscript also adapts itself to -- cgit v1.2.3