From 6b8657aff0adb9952aa3178d3b332de19d354561 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 28 Jun 2018 15:06:09 +0100 Subject: autoconf: stop exporting internal wayland details With version v1.15 the "code" option was deprecated in favour of "private-code" or "public-code". Before the interface symbol generated was exported (which is a bad idea since it's internal implementation detail) and others may misuse it. That was the case with libva approx. 1 year ago. Since then libva was fixed, so we can finally hide it by using "private-code" Inspired by similar xserver patch by Adam Jackson. Signed-off-by: Emil Velikov Reviewed-by: Dylan Baker Reviewed-by: Eric Engestrom --- src/egl/wayland/wayland-drm/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/egl/wayland') diff --git a/src/egl/wayland/wayland-drm/Makefile.am b/src/egl/wayland/wayland-drm/Makefile.am index 0404c79e7fa..40174c6acdd 100644 --- a/src/egl/wayland/wayland-drm/Makefile.am +++ b/src/egl/wayland/wayland-drm/Makefile.am @@ -28,7 +28,7 @@ CLEANFILES = \ wayland-drm-server-protocol.h %-protocol.c : %.xml - $(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@ + $(AM_V_GEN)$(WAYLAND_SCANNER) $(SCANNER_ARG) $< $@ %-server-protocol.h : %.xml $(AM_V_GEN)$(WAYLAND_SCANNER) server-header $< $@ -- cgit v1.2.3