xorg-driver-common.inc: also inlcude(-I) the staging headers of xorg(else compilation...
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Sun, 20 Sep 2009 20:19:50 +0000 (22:19 +0200)
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Thu, 24 Sep 2009 11:38:30 +0000 (13:38 +0200)
recipes/xorg-driver/xorg-driver-common.inc

index 36c0ddf..110ccde 100644 (file)
@@ -16,6 +16,9 @@ FILES_${PN}-dbg +=  "${libdir}/xorg/modules/*/.debug"
 
 inherit autotools pkgconfig
 
+TARGET_CPPFLAGS += "-I${STAGING_DIR_HOST}/usr/include/xorg"
+
+
 do_stage() {
        autotools_stage_all
 }