meson.build: register libxkbcommon.dylib link
authorKen Cunningham <kencu@macports.org>
Wed, 3 May 2023 06:47:56 +0000 (23:47 -0700)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 4 May 2023 00:17:22 +0000 (10:17 +1000)
meson needs to know that the executable tools
link against libxkbcommon.dylib so that the
@rpath references used during the build/test phases
can be rewritten to full path names on install

meson.build

index d55e8f3..4bc91a7 100644 (file)
@@ -423,6 +423,7 @@ if build_tools
     tools_dep = declare_dependency(
         include_directories: [include_directories('tools', 'include')],
         link_with: libxkbcommon_tools_internal,
+        dependencies: dep_libxkbcommon,
     )
 
     executable('xkbcli', 'tools/xkbcli.c',