diff options
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/Makefile.am | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/dri/Makefile.am | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/Makefile.am b/src/gallium/state_trackers/Makefile.am index 209856041ee..3ced6adb482 100644 --- a/src/gallium/state_trackers/Makefile.am +++ b/src/gallium/state_trackers/Makefile.am @@ -29,7 +29,7 @@ if HAVE_GALLIUM_OSMESA SUBDIRS += osmesa endif -if HAVE_DRI +if HAVE_DRICOMMON SUBDIRS += dri endif diff --git a/src/gallium/state_trackers/dri/Makefile.am b/src/gallium/state_trackers/dri/Makefile.am index 9428b555512..b89d02f2a2b 100644 --- a/src/gallium/state_trackers/dri/Makefile.am +++ b/src/gallium/state_trackers/dri/Makefile.am @@ -20,7 +20,11 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. -SUBDIRS = sw +SUBDIRS = + +if HAVE_DRISW +SUBDIRS += sw +endif if HAVE_LIBDRM SUBDIRS += drm |