From 31d403160f3e9d3ebf45e755366c7c068790319a Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 6 Dec 2017 13:27:52 +0000 Subject: [PATCH] meson: fix keyword argument in declare_dependency() `declare_dependency()` takes `compile_args`, not `c_args`. It was correct in all the other `declare_dependency()` from that commit. Fixes: 0bbecc5a8548883f76a71 "meson: define driver dependencies" Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- src/gallium/winsys/imx/drm/meson.build | 2 +- src/gallium/winsys/pl111/drm/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/winsys/imx/drm/meson.build b/src/gallium/winsys/imx/drm/meson.build index a4af4688694..4efd7bb0660 100644 --- a/src/gallium/winsys/imx/drm/meson.build +++ b/src/gallium/winsys/imx/drm/meson.build @@ -28,6 +28,6 @@ libimxdrm = static_library( ) driver_imx = declare_dependency( - c_args : '-DGALLIUM_IMX', + compile_args : '-DGALLIUM_IMX', link_with : libimxdrm, ) diff --git a/src/gallium/winsys/pl111/drm/meson.build b/src/gallium/winsys/pl111/drm/meson.build index 2c981e8c343..8ba03e3f979 100644 --- a/src/gallium/winsys/pl111/drm/meson.build +++ b/src/gallium/winsys/pl111/drm/meson.build @@ -30,6 +30,6 @@ libpl111winsys = static_library( ) driver_pl111 = declare_dependency( - c_args : '-DGALLIUM_PL111', + compile_args : '-DGALLIUM_PL111', link_with : libpl111winsys, ) -- 2.30.2