meson: split Mesa headers as a separate installation
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 30 Sep 2019 13:06:07 +0000 (14:06 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 10 Oct 2019 21:33:05 +0000 (22:33 +0100)
Fixes: 93df862b6affb6b8507e ("meson: re-add incorrect pkg-config files with GLVND for backward compatibility")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
include/meson.build

index 082d8d6687613043e1c8d563d13e86f64e592ad7..149b122236b66f8ab20ffab10a308079d9a2bde9 100644 (file)
@@ -74,6 +74,13 @@ if with_egl
     'EGL/egl.h',
     'EGL/eglext.h',
     'EGL/eglplatform.h',
+    subdir : 'EGL',
+  )
+endif
+
+# Non-upstream headers
+if with_egl
+  install_headers(
     'EGL/eglmesaext.h',
     'EGL/eglextchromium.h',
     subdir : 'EGL',