diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-11-16 23:28:36 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-11-17 15:04:43 -0800 |
commit | c499aaeef80b5af8d20521658449c4148f3d0806 (patch) | |
tree | 4829b3eb52829e4cebadaff9c602b0d9f5daca8f /meta-oe/recipes-dbs/postgresql | |
parent | be7d2286bfe80835e8e014114aaf587e2930c683 (diff) | |
download | meta-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.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 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 |
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 | ||