Module: Mesa
Branch: master
Commit: bbe551f3eab793a18cd427098cf8563040c0b56f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbe551f3eab793a18cd427098cf8563040c0b56f

Author: Sergii Romantsov <[email protected]>
Date:   Fri Sep  7 12:43:41 2018 +0300

mesa/meson: 32bit xmlconfig linkage

Building of 32bit mesa with meson causes linkage issue:
"undefined reference to `util_get_process_name'"
Fixed by adding link-with mesa_util for xmlconfig primary.

v2: Removed '[]', commit message corrected.

v3: Reverted changes in gbm and glx libraries.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107843
Fixes: 2e1e6511f76370870b5cd "util: extract get_process_name from xmlconfig.c"
Cc: Marek Olšák <[email protected]>
Cc: Dylan Baker <[email protected]>
Signed-off-by: Sergii Romantsov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>

---

 src/util/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/meson.build b/src/util/meson.build
index e7ad286123..027bc5b9d0 100644
--- a/src/util/meson.build
+++ b/src/util/meson.build
@@ -119,6 +119,7 @@ libxmlconfig = static_library(
   'xmlconfig',
   files_xmlconfig,
   include_directories : inc_common,
+  link_with : libmesa_util,
   dependencies : [dep_expat, dep_m],
   c_args : [
     c_msvc_compat_args, c_vis_args,

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to