kumquat-buildroot/package/x11r7/xlib_libX11
Thomas Petazzoni eb56385b24 xlib_libX11: compile makekeys for the host correctly
As reported by Miroslav Ignjatovic in bug #2983, our hack in
xlib_libX11 to build makekeys for the host does not work, for several
reasons:

 * As we are building a tool for the host, we shouldn't pass
   -I$(STAGING_DIR)/usr/include, since the $(STAGING_DIR) contains
   headers of packages for the target.

 * Instead, we should use the headers in $(HOST_DIR)/usr/include. They
   were not used due to a typo: $(HOST_CFLAGS) must be used instead of
   $(HOSTCFLAGS).

 * Finally, in order for makekeys to find the required headers in
   $(HOST_DIR)/usr/include, we must depend on host-xproto_xproto.

This fixes bug #2983.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-21 14:20:17 +01:00
..
Config.in X11R7.5 - remove all version information from Config.in files 2010-04-22 12:26:54 +02:00
xlib_libX11-1.3.2-keysymdef.patch xlib_libX11: re-add a patch to fix the keysymdef issue 2010-05-07 21:28:59 +02:00
xlib_libX11.mk xlib_libX11: compile makekeys for the host correctly 2010-12-21 14:20:17 +01:00