changeset 5594:8e1d63f092d6

* src/mesa.mk: install include files
author John Donoghue <john.donoghue@ieee.org>
date Tue, 01 Dec 2020 22:48:43 -0500
parents 552fca54749c
children b74d8780f177
files src/mesa.mk
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/mesa.mk	Tue Dec 01 09:39:40 2020 -0500
+++ b/src/mesa.mk	Tue Dec 01 22:48:43 2020 -0500
@@ -52,6 +52,12 @@
       -Dshared-llvm=true
 
   cd '$(1)/.build' && DESTDIR=$(3) ninja -j $(JOBS) install
+
+  #  install headers
+  for i in EGL GLES GLES2 GLES3 KHR; do \
+      $(INSTALL) -d "$(HOST_INCDIR)/$$i"; \
+      $(INSTALL) -m 644 "$(1)/include/$$i/"* "$(HOST_INCDIR)/$$i/"; \
+  done
   
   # opengl32.dll.a shadows libopengl32.a from mingw. They export slightly
   # different symbols which causes problems for some packages. So don't install