Fixup find-requires linking for srcdir != builddir.

When configuring with srcdir != builddir the find-requires link would fail:
ln: failed to create symbolic link './autodeps/find-requires'

Do the link in the same way as find-provides with an explicit ${srcdir}.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
This commit is contained in:
Mark Wielaard 2013-03-05 21:31:06 +01:00 committed by Panu Matilainen
parent 51dad76334
commit dd0ea43f14
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ for reqscript in ${host_cpu}-${host_os_exact}.req ${host_os_exact}.req ${host_os
else
echo "using ${srcdir}/autodeps/${reqscript} for automatic requires generation"
fi
ln -sf ${reqscript} ./autodeps/find-requires
ln -sf ${reqscript} ${srcdir}/autodeps/find-requires
break
fi
} done