mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
meson: Add osmesa.sym script as a link dependency (gallium-osmesa)
v2: - Add this patch Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
parent
0cb6d69a72
commit
b065de05c6
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue