mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
automake: require shared glapi when using DRI based libGL
This has been a requirement for ages, yet it seems like we never explicitly errored out during configure. CC: <mesa-stable@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
834036500c
commit
a7ea7511ba
2 changed files with 3 additions and 4 deletions
|
|
@ -1659,6 +1659,8 @@ xxlib | xgallium-xlib)
|
|||
xdri)
|
||||
# DRI-based GLX
|
||||
|
||||
require_dri_shared_libs_and_glapi "GLX"
|
||||
|
||||
# find the DRI deps for libGL
|
||||
dri_modules="x11 xext xdamage >= $XDAMAGE_REQUIRED xfixes x11-xcb xcb xcb-glx >= $XCBGLX_REQUIRED"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,6 @@
|
|||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
# IN THE SOFTWARE.
|
||||
|
||||
if HAVE_SHARED_GLAPI
|
||||
SHARED_GLAPI_LIB = $(top_builddir)/src/mapi/shared-glapi/libglapi.la
|
||||
endif
|
||||
|
||||
SUBDIRS =
|
||||
|
||||
|
|
@ -181,7 +178,7 @@ GL_LIBS = \
|
|||
$(LIBDRM_LIBS) \
|
||||
libglx.la \
|
||||
$(top_builddir)/src/mapi/glapi/libglapi.la \
|
||||
$(SHARED_GLAPI_LIB) \
|
||||
$(top_builddir)/src/mapi/shared-glapi/libglapi.la \
|
||||
$(GL_LIB_DEPS)
|
||||
|
||||
GL_LDFLAGS = \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue