diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-11-16 23:28:36 -0800 |
---|---|---|
committer | Peter Kjellerstedt <pkj@axis.com> | 2021-02-08 21:39:16 +0100 |
commit | 6a7b33cd912434dbb3b5d666aab66229e8c0bdfb (patch) | |
tree | ac5b555b0615911b96219819633409774b955977 | |
parent | d5418d5df9bafcd7e1b5bedee734b5bcebc199ff (diff) | |
download | meta-openembedded-contrib-6a7b33cd912434dbb3b5d666aab66229e8c0bdfb.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>
-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 826bcc1e1c..09c6a3ca9d 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" |