summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-02-24 09:38:11 -0800
committerArmin Kuster <akuster808@gmail.com>2018-03-01 16:10:38 -0800
commit742404cc8ab08316b0c02310c89958972d43d22e (patch)
tree0fbbb80e1716548f3fe2b9d8383f9da8ad707abc /meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch
parenteaff8c24ab1b88efc9340d90c268f4aea3795992 (diff)
downloadmeta-openembedded-742404cc8ab08316b0c02310c89958972d43d22e.tar.gz
postgres: move to recipes-dbs
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch')
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch
new file mode 100644
index 0000000000..e199f39143
--- /dev/null
+++ b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch
@@ -0,0 +1,31 @@
1[PATCH] not check libperl under cross compiling
2
3Upstream-Status: Inappropriate [configuration]
4
5libperl ldflags returned by PGAC_CHECK_PERL_EMBED_LDFLAGS are native,
6can not be used to check target library.
7
8postpresql has the dependency on perl, so not need to check libperl
9again, like in postgresql-9.2.4
10
11Signed-off-by: Roy Li <rongqing.li@windriver.com>
12---
13 configure.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/configure.in b/configure.in
17index ae1a5a0..9a0970d 100644
18--- a/configure.in
19+++ b/configure.in
20@@ -1877,7 +1877,7 @@ if test "$with_tcl" = yes; then
21 fi
22
23 # check for <perl.h>
24-if test "$with_perl" = yes; then
25+if test "$with_perl" = yes && test "$cross_compiling" = no; then
26 ac_save_CPPFLAGS=$CPPFLAGS
27 CPPFLAGS="$CPPFLAGS -I$perl_archlibexp/CORE"
28 AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])],
29--
301.9.1
31