diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-12-21 14:14:53 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-21 14:20:17 +0100 |
commit | eb56385b24b590b22951b4499bf3bad4a563433c (patch) | |
tree | 2b8a62c5422dfc71e6d4a75a8c787f516f570995 /package/x11r7/xlib_libdmx | |
parent | cd11bf49704ef6413ae303c6c774b5c6a4a62f9a (diff) | |
download | buildroot-novena-eb56385b24b590b22951b4499bf3bad4a563433c.tar.gz buildroot-novena-eb56385b24b590b22951b4499bf3bad4a563433c.zip |
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>
Diffstat (limited to 'package/x11r7/xlib_libdmx')
0 files changed, 0 insertions, 0 deletions