mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-24 19:07:16 +00:00
8fe066cca1
Bug fix only updates. see: https://www.postgresql.org/docs/9.4/release-9-4-20.html Patches refreshed Signed-off-by: Armin Kuster <akuster808@gmail.com>
29 lines
961 B
Diff
29 lines
961 B
Diff
[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(-)
|
|
|
|
Index: postgresql-9.4.20/configure.in
|
|
===================================================================
|
|
--- postgresql-9.4.20.orig/configure.in
|
|
+++ postgresql-9.4.20/configure.in
|
|
@@ -1931,7 +1931,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 $perl_includespec"
|
|
AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])],
|