summaryrefslogtreecommitdiffstats
path: root/src/glx/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-18 12:20:43 -0700
committerDylan Baker <[email protected]>2017-10-20 16:46:48 -0700
commit108d257a16859898f5ce02f4759c5c58f9b8c050 (patch)
tree0bda907e3e63c9dad56e0656b9336c0ae34a233b /src/glx/meson.build
parentddf06a05ad32118854136f9ad0bc2a38f41e6430 (diff)
meson: build libEGL
This is based heavily on Daniel Stone's work for the same, rebased on master and with a number of TODO's fixed. This does not implement glvnd (which is coming in a later patch) Meson builds egl slightly differently than autotools, namely it doesn't build an intermediate shared library. It doesn't do this because meson doesn't have problems with the name of the library being dynamically generated, so the glvnd and non-glvnd code can follow the same path. v2: - Don't reuse variable (Eric E.) Signed-off-by: Dylan Baker <[email protected]> Tested-by: Eric Engestrom <[email protected]> Reviewed-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/glx/meson.build')
-rw-r--r--src/glx/meson.build22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/glx/meson.build b/src/glx/meson.build
index 6853f5b3a16..3fe5fcf0cd6 100644
--- a/src/glx/meson.build
+++ b/src/glx/meson.build
@@ -168,28 +168,6 @@ if with_glx == 'dri'
install : true,
)
- gl_priv_reqs = [
- 'x11', 'xext', 'xdamage >= 1.1', 'xfixes', 'x11-xcb', 'xcb',
- 'xcb-glx >= 1.8.1', 'libdrm >= 2.4.75',
- ]
- if dep_xf86vm.found()
- gl_priv_reqs += 'xf86vm'
- endif
- if with_dri_platform == 'drm'
- gl_priv_reqs += 'xcb-dri2 >= 1.8'
- endif
-
- gl_priv_libs = []
- if dep_thread.found()
- gl_priv_libs += ['-lpthread', '-pthread']
- endif
- if dep_m.found()
- gl_priv_libs += '-lm'
- endif
- if dep_dl.found()
- gl_priv_libs += '-ldl'
- endif
-
pkg.generate(
name : 'gl',
filebase : 'gl',