[Mesa-dev] [PATCH mesa] meson: expose glapi through osmesa
Eric Engestrom
eric.engestrom at intel.com
Thu May 2 16:13:58 UTC 2019
Suggested-by: Pierre Guillou <pierre.guillou at lip6.fr>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109659
Cc: Brian Paul <brianp at vmware.com>
Cc: Dylan Baker <dylan at pnwbakers.com>
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
src/gallium/targets/osmesa/meson.build | 4 ++--
src/mesa/drivers/osmesa/meson.build | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/gallium/targets/osmesa/meson.build b/src/gallium/targets/osmesa/meson.build
index b4ae8f4b6ec8c5a8f29b..e873e311aa04d0b05865 100644
--- a/src/gallium/targets/osmesa/meson.build
+++ b/src/gallium/targets/osmesa/meson.build
@@ -43,9 +43,9 @@ libosmesa = shared_library(
inc_gallium_drivers,
],
link_depends : osmesa_link_deps,
- link_whole : [libosmesa_st],
+ link_whole : [libosmesa_st, libglapi_static],
link_with : [
- libmesa_gallium, libgallium, libglapi_static, libws_null, osmesa_link_with,
+ libmesa_gallium, libgallium, libws_null, osmesa_link_with,
],
dependencies : [
dep_selinux, dep_thread, dep_clock, dep_unwind,
diff --git a/src/mesa/drivers/osmesa/meson.build b/src/mesa/drivers/osmesa/meson.build
index a406bb3c2100b9994034..c479b7401316a5dced60 100644
--- a/src/mesa/drivers/osmesa/meson.build
+++ b/src/mesa/drivers/osmesa/meson.build
@@ -33,7 +33,8 @@ libosmesa = shared_library(
include_directories : [
inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux,
],
- link_with : [libmesa_classic, libglapi_static, osmesa_link_with],
+ link_whole : libglapi_static,
+ link_with : [libmesa_classic, osmesa_link_with],
dependencies : [dep_thread, dep_selinux],
version : '8.0.0',
install : true,
--
Cheers,
Eric
More information about the mesa-dev
mailing list