summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-11-16 23:28:36 -0800
committerKhem Raj <raj.khem@gmail.com>2020-11-17 15:04:43 -0800
commitc499aaeef80b5af8d20521658449c4148f3d0806 (patch)
tree4829b3eb52829e4cebadaff9c602b0d9f5daca8f /meta-oe/recipes-dbs/postgresql
parentbe7d2286bfe80835e8e014114aaf587e2930c683 (diff)
downloadmeta-openembedded-c499aaeef80b5af8d20521658449c4148f3d0806.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>
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql')
-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 090e16f58..a1665ab2b 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
37export LDFLAGS_SL = "${LDFLAGS}" 37export LDFLAGS_SL = "${LDFLAGS}"
38 38
39inherit autotools pkgconfig perlnative python3native useradd update-rc.d systemd gettext cpan-base 39inherit autotools pkgconfig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext cpan-base
40 40
41CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6" 41CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6"
42 42