mesa/dri: remove unneeded HAVE_SHARED_GLAPI guard
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 13 Apr 2017 15:37:44 +0000 (16:37 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 4 May 2017 17:11:44 +0000 (18:11 +0100)
Always true, since the dri modules required shared glapi.

With earlier commit (da410e6afad "configure: explicitly require shared
glapi for enable-dri") we even made that explicit during the configure
stage.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/drivers/dri/Makefile.am

index fb0fc3258bf0bc26a782a1599ceca2f668c142d7..381c6a20b72c412b65c8b3bb7818a77a6a568c54 100644 (file)
@@ -6,10 +6,6 @@ MEGADRIVERS_DEPS =
 
 SUBDIRS+=common
 
-if HAVE_SHARED_GLAPI
-SHARED_GLAPI_LIB = $(top_builddir)/src/mapi/shared-glapi/libglapi.la
-endif
-
 if HAVE_I915_DRI
 SUBDIRS += i915
 MEGADRIVERS_DEPS += i915/libi915_dri.la
@@ -70,7 +66,7 @@ mesa_dri_drivers_la_LIBADD = \
         common/libmegadriver_stub.la \
         common/libdricommon.la \
         common/libxmlconfig.la \
-        $(SHARED_GLAPI_LIB) \
+        $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
         $(MEGADRIVERS_DEPS) \
         $(DRI_LIB_DEPS) \
         $()