mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
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 eac776cf77
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>
This commit is contained in:
parent
d5e5367e89
commit
c6b6916b9a
1 changed files with 1 additions and 1 deletions
|
|
@ -100,9 +100,9 @@ libglx_la_SOURCES = \
|
||||||
if HAVE_DRI3
|
if HAVE_DRI3
|
||||||
libglx_la_SOURCES += \
|
libglx_la_SOURCES += \
|
||||||
dri3_glx.c
|
dri3_glx.c
|
||||||
endif
|
|
||||||
|
|
||||||
libglx_la_LIBADD = $(top_builddir)/src/loader/libloader.la
|
libglx_la_LIBADD = $(top_builddir)/src/loader/libloader.la
|
||||||
|
endif
|
||||||
|
|
||||||
GL_LIBS = \
|
GL_LIBS = \
|
||||||
libglx.la \
|
libglx.la \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue