[PATCH] Remove explicit dependency on $(WAYLAND_LIBS)

Olivier Fourdan ofourdan at redhat.com
Wed Dec 3 05:33:38 PST 2014


I was trying to build XWayland as per the recipe from 
http://wayland.freedesktop.org/xserver.html and ran into an issue 
because I have the Wayland libs installed in a non-standard location 
(from http://wayland.freedesktop.org/building.html)

Basically, xserver/hw/xwayland/Makefile.am specifies 
"Xwayland_DEPENDENCIES = $(XWAYLAND_LIBS)" which will break because 
XWAYLAND_LIBS also contains the statements "-L/path/to/the/lib" and that 
breaks the build with:

make[2]: *** No rule to make target '-L/path/to/the/lib', needed by 
'Xwayland'.  Stop.
make[2]: Leaving directory '/home/ofourdan/src/wayland/xserver/hw/xwayland'

I am not sure why "Xwayland_DEPENDENCIES = $(XWAYLAND_LIBS)" was added 
in the first place, it comes from a huge commit (6e539d88), but I 
suspect it's not needed and it might be better not have it (at least it 
builds successfully without), thus the patch attached.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-explicit-dependency-on-WAYLAND_LIBS.patch
Type: text/x-patch
Size: 1100 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20141203/d116866d/attachment.bin>

More information about the wayland-devel mailing list