summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glx/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glx/meson.build b/src/glx/meson.build
index 04cd647ee49..e645b22b5fe 100644
--- a/src/glx/meson.build
+++ b/src/glx/meson.build
@@ -18,7 +18,9 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-subdir('windows')
+if with_dri_platform == 'windows'
+ subdir('windows')
+endif
files_libglx = files(
'clientattrib.c',