mesa/meson: 32bit xmlconfig linkage
authorSergii Romantsov <sergii.romantsov@gmail.com>
Fri, 7 Sep 2018 09:43:41 +0000 (12:43 +0300)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 10 Sep 2018 15:57:42 +0000 (08:57 -0700)
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 <marek.olsak@amd.com>
Cc: Dylan Baker <dylan@pnwbakers.com>
Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/util/meson.build

index e7ad286123829476523074a2b0b7597b58c21045..027bc5b9d0d398d318b04a4df5d63d4315215fda 100644 (file)
@@ -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,