[PATCH xserver] meson.build: Fix hw/xwin build when dependencies are installed in a non-default location

Jon Turney jon.turney at dronecode.org.uk
Thu Jan 18 16:18:12 UTC 2018


Signed-off-by: Jon Turney <jon.turney at dronecode.org.uk>
---
 hw/xwin/glx/meson.build          | 2 +-
 hw/xwin/winclipboard/meson.build | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/hw/xwin/glx/meson.build b/hw/xwin/glx/meson.build
index e9969536d..57cce039d 100644
--- a/hw/xwin/glx/meson.build
+++ b/hw/xwin/glx/meson.build
@@ -75,7 +75,7 @@ xwin_glx = static_library(
         top_srcdir_inc,
         include_directories('../'),
     ],
-    dependencies: pixman_dep,
+    dependencies: common_dep,
     c_args: xwin_glx_c_args,
 )
 
diff --git a/hw/xwin/winclipboard/meson.build b/hw/xwin/winclipboard/meson.build
index 1c784c384..dd7b2d20e 100644
--- a/hw/xwin/winclipboard/meson.build
+++ b/hw/xwin/winclipboard/meson.build
@@ -27,5 +27,6 @@ executable(
     srcs_xwinclip,
     link_with: xwin_clipboard,
     link_args: ['-lgdi32', '-lpthread'],
+    dependencies: [dependency('x11')],
     install: true,
 )
-- 
2.15.1



More information about the xorg-devel mailing list