[Mesa-dev] [PATCH] meson: don't install windows headers on non-windows platforms

Marc Dietrich marvin24 at gmx.de
Thu Feb 1 12:27:28 UTC 2018


Only dive into the windows subdir if windows platform is selected.

Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
---
 src/glx/meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/glx/meson.build b/src/glx/meson.build
index 04cd647ee4..e645b22b5f 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',
-- 
2.16.1



More information about the mesa-dev mailing list