[PATCH 4/5] build: set the scanner --object-type option
Pekka Paalanen
ppaalanen at gmail.com
Thu Jul 27 13:36:20 UTC 2017
On Wed, 26 Jul 2017 14:56:20 +0100
Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> Unlike most other scanner users, the core wayland interfaces are
> public ally available via the libwayland DSO.
>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index d0c8bd3..4055d04 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -97,7 +97,7 @@ nodist_libwayland_client_la_SOURCES = \
> pkgconfig_DATA += src/wayland-client.pc src/wayland-server.pc
>
> protocol/%-protocol.c : $(top_srcdir)/protocol/%.xml
> - $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
> + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) --object-type=shared code < $< > $@
>
> protocol/%-server-protocol.h : $(top_srcdir)/protocol/%.xml
> $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
Hi,
looks good, but I wonder if the header commands need the type set as
well to avoid the warning.
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170727/112be32f/attachment.sig>
More information about the wayland-devel
mailing list