[PATCH] video-vesa: remove -I$(prefix)/include from INCLUDES #24676

Michael Olbrich m.olbrich at pengutronix.de
Wed Dec 9 06:37:04 PST 2009


Hi,

On Tue, Dec 08, 2009 at 06:34:18PM -0500, Gaetan Nadon wrote:
> This patch fixes a reported problem in a cross-compile scenario. The
> $prefix is used in configure.ac to locate the main include directory.
> This will never be reliable. The correct value was already supplied by
> XORG_CFLAGS through pkg-config xorg-xserver.

Correct. In my case pkg-config returns the correct path for
cross-compiling, which is DESTDIR/PREFIX/include and not PREFIX/include
(this is in the host system).

> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
Signed-off-by: Michael Olbrich <m.olbrich at pengutronix.de>

Regards,
Michael Olbrich

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the xorg-devel mailing list