All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] srecord: build fix
@ 2022-04-06 11:34 Adrian Freihofer
  0 siblings, 0 replies; only message in thread
From: Adrian Freihofer @ 2022-04-06 11:34 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Adrian Freihofer

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 <adrian.freihofer@siemens.com>
---
 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 85deabde1..5765272ce 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"
-- 
2.35.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-06 16:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 11:34 [meta-oe][PATCH] srecord: build fix Adrian Freihofer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.