diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/autotools.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index d43ae6d88..bc891f94e 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -109,8 +109,8 @@ autotools_do_configure() { AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"` automake --version echo "AUTOV is $AUTOV" - if [ -d ${STAGING_DATADIR}/aclocal-$AUTOV ]; then - acpaths="$acpaths -I${STAGING_DATADIR}/aclocal-$AUTOV" + if [ -d ${STAGING_DATADIR_NATIVE}/aclocal-$AUTOV ]; then + acpaths="$acpaths -I${STAGING_DATADIR_NATIVE}/aclocal-$AUTOV" fi if [ -d ${STAGING_DATADIR}/aclocal ]; then acpaths="$acpaths -I ${STAGING_DATADIR}/aclocal" |