mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
meson: fix xvmc target linkage
This needs to link the state tracker with --whole-archive to expose the
right symbols.
v4: - Always add libswdri and libswkmsdri to the link_with list
Fixes: 22a817af8a ("meson: build gallium xvmc 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
0b73c329bc
commit
2ab1ce30c4
1 changed files with 4 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
|
||||
|
|
@ -40,9 +40,10 @@ libxvmc_gallium = shared_library(
|
|||
include_directories : [
|
||||
inc_common, inc_util, inc_gallium_winsys, inc_gallium_drivers,
|
||||
],
|
||||
link_whole : [libxvmc_st],
|
||||
link_with : [
|
||||
libxvmc_st, libgalliumvlwinsys, libgalliumvl, libgallium, libmesa_util,
|
||||
libpipe_loader_static, libws_null, libwsw,
|
||||
libgalliumvlwinsys, libgalliumvl, libgallium, libmesa_util,
|
||||
libpipe_loader_static, libws_null, libwsw, libswdri, libswkmsdri,
|
||||
],
|
||||
dependencies : [dep_thread, driver_r600, driver_nouveau],
|
||||
link_depends : xvmc_link_depends,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue