diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-11-16 23:28:36 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-02-19 07:17:12 -0800 |
commit | 2b7f9d4b71343635a55555a764d1442b1e3ebc30 (patch) | |
tree | 9a0cfc2be8a3f790b4f4a5ca9f7f3a7f5cea4cb6 | |
parent | f60cbaf0429f96f0137c911937295a76806d821d (diff) | |
download | meta-openembedded-2b7f9d4b71343635a55555a764d1442b1e3ebc30.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>
-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 5b5bfb088..2294a3de4 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" | |||
36 | # LDFLAGS for shared libraries | 36 | # LDFLAGS for shared libraries |
37 | export LDFLAGS_SL = "${LDFLAGS}" | 37 | export LDFLAGS_SL = "${LDFLAGS}" |
38 | 38 | ||
39 | inherit autotools pkgconfig perlnative python3native useradd update-rc.d systemd gettext cpan-base | 39 | inherit autotools pkgconfig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext cpan-base |
40 | 40 | ||
41 | CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6" | 41 | CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6" |
42 | 42 | ||