mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 16:30:10 +01:00
meson: Fix xa target linkage
This needs to use --whole-archive (link_whole in meson) to properly
expose symbols.
v4: - Always add libswdri and libswkmsdri to link_with list
Fixes: 0ba909f0f1 ("meson: build gallium xa state tracker")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Acked-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
91a59b6287
commit
0b73c329bc
1 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright © 2017 Intel Corporation
|
||||
# Copyright © 2017-2018 Intel Corporation
|
||||
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
@ -30,6 +30,7 @@ if with_ld_version_script
|
|||
xa_link_depends += files('xa.sym')
|
||||
endif
|
||||
|
||||
|
||||
libxatracker = shared_library(
|
||||
'xatracker',
|
||||
'target.c',
|
||||
|
|
@ -39,9 +40,10 @@ libxatracker = shared_library(
|
|||
include_directories : [
|
||||
inc_common, inc_util, inc_gallium_winsys, inc_gallium_drivers,
|
||||
],
|
||||
link_whole : [libxa_st],
|
||||
link_with : [
|
||||
libxa_st, libgalliumvl_stub, libgallium, libmesa_util,
|
||||
libpipe_loader_static, libws_null, libwsw,
|
||||
libgalliumvl_stub, libgallium, libmesa_util, libpipe_loader_static,
|
||||
libws_null, libwsw, libswdri, libswkmsdri,
|
||||
],
|
||||
link_depends : xa_link_depends,
|
||||
dependencies : [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue