aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/postgresql/postgresql.inc8
1 files changed, 2 insertions, 6 deletions
diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index 9592c79845..454624caaa 100644
--- a/meta-oe/recipes-support/postgresql/postgresql.inc
+++ b/meta-oe/recipes-support/postgresql/postgresql.inc
@@ -40,6 +40,8 @@ export LDFLAGS_SL = "${LDFLAGS}"
inherit autotools pkgconfig perlnative pythonnative useradd update-rc.d systemd
+CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR}"
+
SYSTEMD_SERVICE_${PN} = "postgresql.service"
SYSTEMD_AUTO_ENABLE_${PN} = "disable"
@@ -109,12 +111,6 @@ python populate_packages_prepend() {
}
do_configure() {
- # do_configure_prepend
- # make sure configure finds python includdirs with these envs
- export \
- STAGING_INCDIR=${STAGING_INCDIR} \
- STAGING_LIBDIR=${STAGING_LIBDIR}
-
# do_configure
autotools_do_configure