1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

webkitgtk: fix reconfigure

| ln: failed to create symbolic link '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/webkitgtk/2.26.4-r0/recipe-sysroot-native/usr/bin/python': File exists

(From OE-Core rev: 0d153e16ade03348f066e1cef916f28ce63b074c)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Müller
2020-02-21 00:48:28 +01:00
committed by Richard Purdie
parent adf9825d1c
commit 580baf1fe0
+3 -1
View File
@@ -61,7 +61,9 @@ PACKAGECONFIG[openjpeg] = "-DUSE_OPENJPEG=ON,-DUSE_OPENJPEG=OFF,openjpeg"
# webkitgtk is full of /usr/bin/env python, particular for generating docs
do_configure[postfuncs] += "setup_python_link"
setup_python_link() {
ln -s `which python3` ${STAGING_BINDIR_NATIVE}/python
if [ ! -e ${STAGING_BINDIR_NATIVE}/python ]; then
ln -s `which python3` ${STAGING_BINDIR_NATIVE}/python
fi
}
EXTRA_OECMAKE = " \