summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-03-06 10:36:42 -0800
committerDylan Baker <[email protected]>2018-03-07 13:30:53 -0800
commit6f628951afa342c1da5b770ab1cc73b50fab1a10 (patch)
tree910c633f2bcc468f92efa20301dec82c64a43ad3 /src/egl
parent34e852d5b50772199797ea839fc8d6b3805633ff (diff)
meson: Use include directory variables instead of traversing
Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Jon Turney <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Tested-by: Julien Isorce <[email protected]> Tested-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/egl/meson.build b/src/egl/meson.build
index 36cd33ac08b..6537e4bdee6 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.build
@@ -18,10 +18,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+inc_egl = include_directories('.', 'main')
+inc_egl_dri2 = include_directories('drivers/dri2')
+
c_args_for_egl = []
link_for_egl = []
deps_for_egl = []
-incs_for_egl = [inc_include, inc_src, include_directories('main')]
+incs_for_egl = [inc_include, inc_src, inc_egl]
files_egl = files(
'main/eglapi.c',