summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/osmesa
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-11-29 09:46:25 -0800
committerDylan Baker <[email protected]>2017-12-04 14:36:19 -0800
commitb065de05c6a83aeb4eabbc7141f7b56dbd641b00 (patch)
treefed16694838253438f2bd9ed79abbfe39cad7f56 /src/gallium/targets/osmesa
parent0cb6d69a722ad74a3dc853fd45f73f13149c3bf6 (diff)
meson: Add osmesa.sym script as a link dependency (gallium-osmesa)
v2: - Add this patch Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/targets/osmesa')
-rw-r--r--src/gallium/targets/osmesa/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/osmesa/meson.build b/src/gallium/targets/osmesa/meson.build
index 760703d418f..cbf0e3d096a 100644
--- a/src/gallium/targets/osmesa/meson.build
+++ b/src/gallium/targets/osmesa/meson.build
@@ -20,6 +20,7 @@
osmesa_link_with = []
osmesa_link_args = []
+osmesa_link_deps = []
if with_shared_glapi
osmesa_link_with += libglapi
@@ -28,6 +29,7 @@ if with_ld_version_script
osmesa_link_args += [
'-Wl,--version-script', join_paths(meson.current_source_dir(), 'osmesa.sym')
]
+ osmesa_link_deps += files('osmesa.sym')
endif
# TODO: swr
@@ -42,6 +44,7 @@ libosmesa = shared_library(
inc_include, inc_src, inc_gallium, inc_gallium_aux, inc_gallium_winsys,
inc_gallium_drivers,
],
+ link_depends : osmesa_link_deps,
link_whole : [libosmesa_st],
link_with : [
libmesa_gallium, libgallium, libglapi_static, libws_null, libtrace,