From dd0ea43f14a0cf52b654df2886ac2d68d32e069a Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 5 Mar 2013 21:31:06 +0100 Subject: [PATCH] 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ba68d8424..a6ba079ca 100644 --- a/configure.ac +++ b/configure.ac @@ -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