From b9e440ead8908280041e87a5a8abe03718c808ad Mon Sep 17 00:00:00 2001 From: Adrian Freihofer Date: Wed, 6 Apr 2022 13:34:34 +0200 Subject: [PATCH] srecord: build fix build failed with: ln: failed to create symbolic link '...srecord-1.64/configure.ac': File exists As expected, the existing file was a symlink pointing to etc/configure.ac Signed-off-by: Adrian Freihofer Signed-off-by: Khem Raj --- meta-oe/recipes-support/srecord/srecord_1.64.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/srecord/srecord_1.64.bb b/meta-oe/recipes-support/srecord/srecord_1.64.bb index 85deabde17..5765272ce8 100644 --- a/meta-oe/recipes-support/srecord/srecord_1.64.bb +++ b/meta-oe/recipes-support/srecord/srecord_1.64.bb @@ -21,7 +21,7 @@ inherit autotools-brokensep do_configure:prepend() { # To autoreconf we need the script in ${S}, we can't tell autotools to use # etc/ because then it can't find the Makefile.in - ln -s ${S}/etc/configure.ac ${S} + ln -sf ${S}/etc/configure.ac ${S} } PACKAGECONFIG ??= "gcrypt"