glx: link loader util lib only when building with dri3
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Jan 2014 00:42:30 +0000 (00:42 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 23 Jan 2014 18:04:22 +0000 (18:04 +0000)
commitc6b6916b9a6506e65b0cdaa6f56c27c645cc710d
tree3a676768bd9e53627538db2a42babfea9055e9a2
parentd5e5367e8992c2e5322d35fba8d86c33a0db6825
glx: link loader util lib only when building with dri3

Otherwise we pull libudev as a dependency and crash
games/programs that ship their own version of libudev.

Either way we should link the loader lib only when needed.
This fixes a regression caused by
commit eac776cf779b705cbfb8d41812f1d171fb09c76f
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Sat Jan 11 02:24:43 2014 +0000

    glx: use the loader util lib

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73854
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/glx/Makefile.am