From ab16538b8353aadce97962b002730dd1a869dc99 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Wed, 6 Sep 2017 21:24:33 +0200 Subject: [PATCH] mesa/st/tests: Fix classic build regressions introduced with 7be6d8fe12 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes the build in classic only mode, i.e. the new state tracker tests are only build when Gallium is enabled. Tested-by: Michel Dänzer Reviewed-by: Nicolai Hähnle --- src/mesa/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 865735be27f..f2097eb209d 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -19,7 +19,12 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -SUBDIRS = . main/tests state_tracker/tests +SUBDIRS = . main/tests + +# state tracker tests depend on libmesagallium.la +if HAVE_GALLIUM +SUBDIRS += state_tracker/tests +endif if HAVE_XLIB_GLX SUBDIRS += drivers/x11 -- 2.30.2