[PATCH] Remove explicit dependency on $(WAYLAND_LIBS)

Peter Hutterer peter.hutterer at who-t.net
Thu Dec 11 14:41:28 PST 2014


On Thu, Dec 11, 2014 at 07:51:27PM +0100, Olivier Fourdan wrote:
> Xwayland Makefile explicitely set its dependencies on
> WAYLAND_LIBS. If the ibrairies are installed in a non-standard
> path, WAYLAND_LIBS contains '-L/path/to/the/lib' which will fail
> at build time with:
> 
> "No rule to make target '-L/path/to/the/lib', needed by 'Xwayland'.
>  Stop"
> 
> Remove that explicit dependency to avoid the problem (LDADD ought
> to be enough to get the right libraries linked).
> 
> Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
   Peter


> ---
>  hw/xwayland/Makefile.am | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/hw/xwayland/Makefile.am b/hw/xwayland/Makefile.am
> index 4e0e1bb..9945540 100644
> --- a/hw/xwayland/Makefile.am
> +++ b/hw/xwayland/Makefile.am
> @@ -26,7 +26,6 @@ Xwayland_LDADD =				\
>  	$(XWAYLAND_LIBS)			\
>  	$(XWAYLAND_SYS_LIBS)			\
>  	$(XSERVER_SYS_LIBS)
> -Xwayland_DEPENDENCIES = $(XWAYLAND_LIBS)
>  Xwayland_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
>  
>  
> -- 
> 2.1.0
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list