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 <adrian.freihofer@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Adrian Freihofer 2022-04-06 13:34:34 +02:00 committed by Khem Raj
parent 41b44264e3
commit b9e440ead8

View File

@ -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"