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 22:09:27 +0100 |
commit | 059b72c4d8cb4bb32319dded48d9cac0c4019036 (patch) | |
tree | 806c9e4af94cf8464b1559f4766e26bfe7bf25b4 | |
parent | a7102bb0989ef4e3629b879021c640259b5e1e5d (diff) | |
download | meta-openembedded-contrib-059b72c4d8cb4bb32319dded48d9cac0c4019036.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 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" |