diff options
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 | 10 |
1 files changed, 5 insertions, 5 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 index 971510943d..c57b421356 100644 --- a/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch +++ b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch | |||
@@ -13,16 +13,16 @@ Signed-off-by: Roy Li <rongqing.li@windriver.com> | |||
13 | configure.in | 2 +- | 13 | configure.in | 2 +- |
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 15 | ||
16 | Index: postgresql-9.4.15/configure.in | 16 | Index: postgresql-9.4.20/configure.in |
17 | =================================================================== | 17 | =================================================================== |
18 | --- postgresql-9.4.15.orig/configure.in | 18 | --- postgresql-9.4.20.orig/configure.in |
19 | +++ postgresql-9.4.15/configure.in | 19 | +++ postgresql-9.4.20/configure.in |
20 | @@ -1879,7 +1879,7 @@ if test "$with_tcl" = yes; then | 20 | @@ -1931,7 +1931,7 @@ if test "$with_tcl" = yes; then |
21 | fi | 21 | fi |
22 | 22 | ||
23 | # check for <perl.h> | 23 | # check for <perl.h> |
24 | -if test "$with_perl" = yes; then | 24 | -if test "$with_perl" = yes; then |
25 | +if test "$with_perl" = yes && test "$cross_compiling" = no; then | 25 | +if test "$with_perl" = yes && test "$cross_compiling" = no; then |
26 | ac_save_CPPFLAGS=$CPPFLAGS | 26 | ac_save_CPPFLAGS=$CPPFLAGS |
27 | CPPFLAGS="$CPPFLAGS -I$perl_archlibexp/CORE" | 27 | CPPFLAGS="$CPPFLAGS $perl_includespec" |
28 | AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])], | 28 | AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])], |