aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-11-16 23:28:36 -0800
committerArmin Kuster <akuster808@gmail.com>2021-02-15 08:25:37 -0800
commitdaa1f00bf603ecc2f9c181453c759b601076549b (patch)
tree9164de570a2400bcc4039bb887d04a97329e8c09
parent5d2be19a2f1a86053e50b1e3f4f0cd9c6831050b (diff)
downloadmeta-openembedded-contrib-daa1f00bf603ecc2f9c181453c759b601076549b.tar.gz
meta-openembedded-contrib-daa1f00bf603ecc2f9c181453c759b601076549b.tar.bz2
meta-openembedded-contrib-daa1f00bf603ecc2f9c181453c759b601076549b.zip
postgresql: Inherit python3targetconfig
it now ends up searching native python shared libraries and tries to link with it and fails on non-host architectures recipe-sysroot-native/usr/lib/libpython3.9.so: file not recognized: file format not recognized collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit c499aaeef80b5af8d20521658449c4148f3d0806) Signed-off-by: Armin Kuster <akuster808@gmail.com> (cherry picked from commit 572d4148267c6ff1b43dd3498020349cb0aa77c7) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 5b5bfb0886..2294a3de42 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -36,7 +36,7 @@ LEAD_SONAME = "libpq.so"
# LDFLAGS for shared libraries
export LDFLAGS_SL = "${LDFLAGS}"
-inherit autotools pkgconfig perlnative python3native useradd update-rc.d systemd gettext cpan-base
+inherit autotools pkgconfig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext cpan-base
CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6"