--- trunk/opengl-update/opengl-update.in 2012/12/31 15:14:19 2003 +++ trunk/opengl-update/opengl-update.in 2014/01/15 14:08:52 2518 @@ -333,11 +333,15 @@ headers[GL]="gl.h glx.h glxtokens.h glext.h glxext.h glxmd.h glxproto.h" headers[GLES]="egl.h gl_extensions.h glext.h gl.h glplatform.h" headers[GLES2]="gl2ext.h gl2.h gl2platform.h" + headers[GLES3]="gl3ext.h gl3.h gl3platform.h" headers[EGL]="eglext.h egl.h eglmesaext.h eglplatform.h" headers[KHR]="khrplatform.h" headers[VG]="openvg.h vgext.h vgplatform.h vgu.h" - for incl_dir in EGL GL GLES GLES2 KHR VG + for incl_dir in EGL GL GLES GLES2 GLES3 KHR VG do + # run this only if the include dir exist in the chosen profile + [[ -e ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/include/${incl_dir} ]] || continue + mkdir -p ${DST_PREFIX}/include/${incl_dir} pushd ${DST_PREFIX}/include/${incl_dir} &> /dev/null for file in ${headers[${incl_dir}]}