[Mesa-dev] [PATCH 05/14] meson: Use driver dependencies for libgl-xlib target
Dylan Baker
dylan at pnwbakers.com
Tue Nov 28 23:30:26 UTC 2017
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
src/gallium/targets/libgl-xlib/meson.build | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/src/gallium/targets/libgl-xlib/meson.build b/src/gallium/targets/libgl-xlib/meson.build
index 825b7b4a0f1..c7e51a0f26d 100644
--- a/src/gallium/targets/libgl-xlib/meson.build
+++ b/src/gallium/targets/libgl-xlib/meson.build
@@ -29,10 +29,7 @@ gallium_xlib_c_args = [
]
gallium_xlib_ld_args = []
gallium_xlib_link_with = []
-gallium_xlib_depends = []
gallium_xlib_link_depends = []
-gallium_xlib_xlibvers = []
-gallium_xlib_sources = []
if with_ld_version_script
gallium_xlib_ld_args += ['-Wl,--version-script', join_paths(meson.current_source_dir(), 'libgl-xlib.sym')]
@@ -41,11 +38,6 @@ endif
if with_shared_glapi
gallium_xlib_link_with += libglapi
endif
-if with_llvm
- gallium_xlib_c_args += '-DGALLIUM_LLVMPIPE'
- gallium_xlib_depends += dep_llvm
- gallium_xlib_link_with += libllvmpipe
-endif
# TODO: SWR
libgl = shared_library(
@@ -59,10 +51,11 @@ libgl = shared_library(
link_args : [ld_args_bsymbolic, ld_args_gc_sections, gallium_xlib_ld_args],
link_depends : gallium_xlib_link_depends,
link_with : [
- libxlib, libws_xlib, libsoftpipe, libtrace, librbug, libglapi_static,
+ libxlib, libws_xlib, libtrace, librbug, libglapi_static,
libgallium, libmesa_util, libmesa_gallium, gallium_xlib_link_with,
+ driver_swrast,
],
- dependencies : [dep_clock, dep_unwind, gallium_xlib_depends],
+ dependencies : [dep_clock, dep_unwind],
install : true,
version : '1.5.0',
)
--
2.15.0
More information about the mesa-dev
mailing list