mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
dri: Use --whole-archive when linking libdri
This is needed to include the kopper stubs when building without zink.
Fixes: 5c40d9bec1 ("dri: add kopper stubs to avoid build failures")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30466>
This commit is contained in:
parent
369e3cc20a
commit
71c506a907
1 changed files with 2 additions and 1 deletions
|
|
@ -32,8 +32,9 @@ libgallium_dri = shared_library(
|
|||
gnu_symbol_visibility : 'hidden',
|
||||
link_args : [ld_args_build_id, ld_args_gc_sections, gallium_dri_ld_args],
|
||||
link_depends : gallium_dri_link_depends,
|
||||
link_whole: [libdri],
|
||||
link_with : [
|
||||
libdri, libmesa, libgalliumvl,
|
||||
libmesa, libgalliumvl,
|
||||
libgallium, libglapi, libpipe_loader_static, libws_null, libwsw, libswdri,
|
||||
libswkmsdri,
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue