[Mesa-dev] [PATCH] targets/dri: scons: add missing link against libdrm

Jose Fonseca jfonseca at vmware.com
Wed Jul 22 09:20:16 PDT 2015


On 22/07/15 16:04, Emil Velikov wrote:
> Otherwise the final dri module will have (additional) unresolved
> symbols.
>
> Cc: Brian Paul <brianp at vmware.com>
> Cc: Jose Fonseca <jfonseca at vmware.com>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>
> We can only fix the remaining unresolved symbols (_glapi_foo), as we
> remove the non-shared glapi when building with DRI.
>
> With this we at least match the autotools build.
>
> -Emil
>
>   src/gallium/targets/dri/SConscript | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/targets/dri/SConscript b/src/gallium/targets/dri/SConscript
> index 8d29f3b..2fb0da0 100644
> --- a/src/gallium/targets/dri/SConscript
> +++ b/src/gallium/targets/dri/SConscript
> @@ -25,6 +25,8 @@ if env['llvm']:
>       env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE')
>       env.Prepend(LIBS = [llvmpipe])
>
> +env.PkgUseModules('DRM')
> +
>   env.Append(CPPDEFINES = [
>       'GALLIUM_VMWGFX',
>       'GALLIUM_SOFTPIPE',
>

Reviwed-by: Jose Fonseca <jfonseca at vmware.com>


More information about the mesa-dev mailing list