diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-11-16 23:28:36 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-02-15 08:25:37 -0800 |
commit | daa1f00bf603ecc2f9c181453c759b601076549b (patch) | |
tree | 9164de570a2400bcc4039bb887d04a97329e8c09 /meta-oe | |
parent | 5d2be19a2f1a86053e50b1e3f4f0cd9c6831050b (diff) | |
download | meta-openembedded-contrib-daa1f00bf603ecc2f9c181453c759b601076549b.tar.gz |
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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 |
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" |