diff options
author | Mario Domenech Goulart <mario.goulart@gmail.com> | 2016-10-16 14:15:49 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-10-25 15:31:16 +0200 |
commit | a87270eb9b086d3fbda7f586ce548c1a4ab489f1 (patch) | |
tree | 56cebf54172a62d3769aacdc95f15b49bda0700d /meta-oe/recipes-support/postgresql/postgresql.inc | |
parent | 887cdc797a1fcf96388d98068a32e587777f82d4 (diff) | |
download | meta-openembedded-a87270eb9b086d3fbda7f586ce548c1a4ab489f1.tar.gz |
postgresql.inc: Fix do_configure error (could not find Python.h)
Fixes:
| checking for Python.h... no
| configure: error: header file <Python.h> is required for Python
| NOTE: The following config.log files may provide further information.
| WARNING: exit code 1 from a shell command.
| NOTE: .../tmp/work/armv5e-poky-linux-gnueabi/postgresql/9.4.8-r0.0/build/config.log
| ERROR: configure failed
Signed-off-by: Mario Domenech Goulart <mario.goulart@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/postgresql/postgresql.inc')
-rw-r--r-- | meta-oe/recipes-support/postgresql/postgresql.inc | 8 |
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 9592c7984..454624caa 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}" | |||
40 | 40 | ||
41 | inherit autotools pkgconfig perlnative pythonnative useradd update-rc.d systemd | 41 | inherit autotools pkgconfig perlnative pythonnative useradd update-rc.d systemd |
42 | 42 | ||
43 | CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR}" | ||
44 | |||
43 | SYSTEMD_SERVICE_${PN} = "postgresql.service" | 45 | SYSTEMD_SERVICE_${PN} = "postgresql.service" |
44 | SYSTEMD_AUTO_ENABLE_${PN} = "disable" | 46 | SYSTEMD_AUTO_ENABLE_${PN} = "disable" |
45 | 47 | ||
@@ -109,12 +111,6 @@ python populate_packages_prepend() { | |||
109 | } | 111 | } |
110 | 112 | ||
111 | do_configure() { | 113 | do_configure() { |
112 | # do_configure_prepend | ||
113 | # make sure configure finds python includdirs with these envs | ||
114 | export \ | ||
115 | STAGING_INCDIR=${STAGING_INCDIR} \ | ||
116 | STAGING_LIBDIR=${STAGING_LIBDIR} | ||
117 | |||
118 | # do_configure | 114 | # do_configure |
119 | autotools_do_configure | 115 | autotools_do_configure |
120 | 116 | ||