mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
python3-pyproj: Remove absolute paths from cython generated .c files
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster@mvista.com>
This commit is contained in:
@@ -23,3 +23,11 @@ RDEPENDS:${PN} = " \
|
||||
export PROJ_INCDIR = "${STAGING_INCDIR}"
|
||||
export PROJ_LIBDIR = "${STAGING_LIBDIR}"
|
||||
export PROJ_DIR = "${STAGING_BINDIR_NATIVE}/.."
|
||||
|
||||
do_compile:append() {
|
||||
for f in `find ${B} -name *.c`
|
||||
do
|
||||
sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" $f
|
||||
done
|
||||
python_pep517_do_compile
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user