diff options
-rw-r--r-- | packages/xorg-driver/xorg-driver-common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/xorg-driver/xorg-driver-common.inc b/packages/xorg-driver/xorg-driver-common.inc index a75e409c8c..7126b8be83 100644 --- a/packages/xorg-driver/xorg-driver-common.inc +++ b/packages/xorg-driver/xorg-driver-common.inc @@ -25,10 +25,10 @@ do_stage() { # Of course this will blow up when cross compiling. do_configure_prepend() { - incdir=${STAGING_INCDIR}/xorg + incdir=${layout_includedir}/xorg for f in dri.h sarea.h dristruct.h exa.h damage.h; do path="$incdir/$f" - if [ -f "$path" ]; then + if [ -f "${STAGING_DIR_HOST}/$path" ]; then p=`echo "$path" | sed 'y%*+%pp%;s%[^_[:alnum:]]%_%g'` eval "export ac_cv_file_$p=yes" fi |