[Mesa-dev] [PATCH] scons: fix libGL build

Roland Scheidegger sroland at vmware.com
Fri Jan 13 13:30:13 PST 2012


Jose,

Ah yes and actually cleanly - I could have sworn I updated that tree
before :-).

I'll go add the clientinfo.c file, should fix the USE_XCB case.

Roland

Am 13.01.2012 21:46, schrieb Jose Fonseca:
> Hi Roland.
> 
> Most of this is already fixed in commit f9b2d2fea586f772551abbb675970b71b2fdf8c9.
> 
> Except clientinfo.c
> 
> Jose
> 
> ----- Original Message -----
>> Enough to get it to work though I guess the libs should be added
>> somewhere
>> else (gallium.py? x11.py?)
>> ---
>>  src/glx/SConscript |    9 +++++++++
>>  1 files changed, 9 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/glx/SConscript b/src/glx/SConscript
>> index fc8ad77..7cbb170 100644
>> --- a/src/glx/SConscript
>> +++ b/src/glx/SConscript
>> @@ -35,11 +35,14 @@ if False: # XXX: SHARED_GLAPI
>>  
>>  sources = [
>>      'clientattrib.c',
>> +    'clientinfo.c',
>>      'compsize.c',
>> +    'create_context.c',
>>      'eval.c',
>>      'glxconfig.c',
>>      'glxcmds.c',
>>      'glxcurrent.c',
>> +    'glx_error.c',
>>      'glxext.c',
>>      'glxextensions.c',
>>      'indirect_glx.c',
>> @@ -80,3 +83,9 @@ libgl = env.InstallSharedLibrary(libgl, version=(1,
>> 2))
>>  
>>  env.Alias('glx', libgl)
>>  env.Alias('libgl', libgl)
>> +
>> +env.Append(LIBS = [
>> +        'xcb-glx',
>> +        'X11-xcb',
>> +    ])
>> +
>> --
>> 1.7.1
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>



More information about the mesa-dev mailing list