aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-01-09 23:46:44 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-01-09 23:46:44 -0500
commit9d5a160ca3af8f9488d2556fb28b9941d4926ff7 (patch)
tree9b9c00439ed82e2e070696ef155773c10b43982d
parent1f3ed51f8e197e9bbf18737a1aa1148ed730f7d8 (diff)
downloadpostgresql-9d5a160ca3af8f9488d2556fb28b9941d4926ff7.tar.gz
postgresql-9d5a160ca3af8f9488d2556fb28b9941d4926ff7.zip
Test linking libperl.so using only Perl's required libraries.
It appears that perl_embed_ldflags should already mention all the libraries that are required by libperl.so itself. So let's try the test link with just those and not the other LIBS we've found up to now. This should more nearly reproduce what will happen when plperl is linked, and perhaps will fix buildfarm member okapi's problem.
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index a20dc3e7346..2176a989f9c 100755
--- a/configure
+++ b/configure
@@ -29187,7 +29187,7 @@ fi
# this writing Debian packages them separately. There is no known reason to
# waste cycles on separate probes for the Tcl or Python libraries, though.
pgac_save_LIBS=$LIBS
- LIBS="$perl_embed_ldflags $LIBS"
+ LIBS="$perl_embed_ldflags"
{ $as_echo "$as_me:$LINENO: checking for libperl" >&5
$as_echo_n "checking for libperl... " >&6; }
cat >conftest.$ac_ext <<_ACEOF
diff --git a/configure.in b/configure.in
index dd1b6166735..3e72af471f9 100644
--- a/configure.in
+++ b/configure.in
@@ -1803,7 +1803,7 @@ if test "$with_perl" = yes; then
# this writing Debian packages them separately. There is no known reason to
# waste cycles on separate probes for the Tcl or Python libraries, though.
pgac_save_LIBS=$LIBS
- LIBS="$perl_embed_ldflags $LIBS"
+ LIBS="$perl_embed_ldflags"
AC_MSG_CHECKING([for libperl])
AC_TRY_LINK([
#include <EXTERN.h>