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

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Jon Turney 2018-01-18 16:18:12 +00:00 committed by Adam Jackson
parent 514d2c243e
commit 2d29daf4c6
2 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,7 @@ xwin_glx = static_library(
top_srcdir_inc, top_srcdir_inc,
include_directories('../'), include_directories('../'),
], ],
dependencies: pixman_dep, dependencies: common_dep,
c_args: xwin_glx_c_args, c_args: xwin_glx_c_args,
) )

View File

@ -27,5 +27,6 @@ executable(
srcs_xwinclip, srcs_xwinclip,
link_with: xwin_clipboard, link_with: xwin_clipboard,
link_args: ['-lgdi32', '-lpthread'], link_args: ['-lgdi32', '-lpthread'],
dependencies: [dependency('x11')],
install: true, install: true,
) )