diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-02-24 09:38:11 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-02-24 09:38:11 -0800 |
commit | 62633544c0b6b22fcf40d00fd125269a579664b4 (patch) | |
tree | daa50c85193dbd0fbe91970920eb92c4b1ab06e0 /meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch | |
parent | 43cd3d58a651fcf3d4754e344aead611a09349b3 (diff) | |
download | meta-openembedded-contrib-akuster/meta-oe-reorg.tar.gz |
postgres: move to recipes-dbsakuster/meta-oe-reorg
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.patch | 31 |
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 @@ +[PATCH] not check libperl under cross compiling + +Upstream-Status: Inappropriate [configuration] + +libperl ldflags returned by PGAC_CHECK_PERL_EMBED_LDFLAGS are native, +can not be used to check target library. + +postpresql has the dependency on perl, so not need to check libperl +again, like in postgresql-9.2.4 + +Signed-off-by: Roy Li <rongqing.li@windriver.com> +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index ae1a5a0..9a0970d 100644 +--- a/configure.in ++++ b/configure.in +@@ -1877,7 +1877,7 @@ if test "$with_tcl" = yes; then + fi + + # check for <perl.h> +-if test "$with_perl" = yes; then ++if test "$with_perl" = yes && test "$cross_compiling" = no; then + ac_save_CPPFLAGS=$CPPFLAGS + CPPFLAGS="$CPPFLAGS -I$perl_archlibexp/CORE" + AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])], +-- +1.9.1 + |