[PATCH xserver 5/9] meson: Build libwfb.so
Eric Anholt
eric at anholt.net
Thu Apr 27 18:55:56 UTC 2017
Adam Jackson <ajax at redhat.com> writes:
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
> fb/meson.build | 10 ++++++++++
> hw/xfree86/dixmods/meson.build | 12 ++++++++++++
> 2 files changed, 22 insertions(+)
>
> diff --git a/fb/meson.build b/fb/meson.build
> index ef8e68ca2..12329073d 100644
> --- a/fb/meson.build
> +++ b/fb/meson.build
> @@ -34,3 +34,13 @@ libxserver_fb = static_library('libxserver_fb',
> dependencies: common_dep,
> pic: true,
> )
> +
> +wfb_args = '-DFB_ACCESS_WRAPPER'
> +
> +libxserver_wfb = static_library('libxserver_wfb',
> + srcs_fb,
> + c_args: wfb_args,
> + include_directories: inc,
> + dependencies: common_dep,
> + pic: true,
> +)
Indentation gone wrong.
We could use "build_by_default: false" here to keep it from being built
unless Xorg's libwfb needs it.
(meson by default builds executables and libraries even if nothing
depends on them, but doesn't build custom targets unless something
depends on them)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170427/4a8a1042/attachment-0001.sig>
More information about the xorg-devel
mailing list