diff options
author | Gert Wollny <gw.fossdev@gmail.com> | 2017-09-06 21:24:33 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-09-07 14:13:43 +0200 |
commit | ab16538b8353aadce97962b002730dd1a869dc99 (patch) | |
tree | cb618ae069a640173bb08d06896156221619e1b4 | |
parent | 580fc06c612873a6bd87b12b471529b4a7412747 (diff) |
mesa/st/tests: Fix classic build regressions introduced with 7be6d8fe12
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 <michel.daenzer@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
-rw-r--r-- | src/mesa/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 865735be27..f2097eb209 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 |