diff options
author | Eric Engestrom <[email protected]> | 2017-12-06 13:27:52 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2017-12-06 18:31:33 +0000 |
commit | 31d403160f3e9d3ebf45e755366c7c068790319a (patch) | |
tree | fe6e598a22cfc9740a491b11e4a28b6143403167 | |
parent | 526945f7dc425ffbb8511b33301f6b1827ee4956 (diff) |
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 <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
-rw-r--r-- | src/gallium/winsys/imx/drm/meson.build | 2 | ||||
-rw-r--r-- | 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, ) |