1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Revert 'Add lib path for libpq in case it is in a non-standard location.`

Putting this before AC_CHECK_LIB breaks on many systems because the location of pg_config is not yet known.
This commit is contained in:
David Steele 2020-01-28 07:36:20 -07:00
parent 324f7cebe0
commit 846efaa40f
2 changed files with 0 additions and 3 deletions

2
src/configure vendored
View File

@ -3050,8 +3050,6 @@ CINCLUDE="-I."
# Check required pq library # Check required pq library
LIBS="$LIBS -L`pg_config --libdir`"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5
$as_echo_n "checking for PQconnectdb in -lpq... " >&6; } $as_echo_n "checking for PQconnectdb in -lpq... " >&6; }

View File

@ -34,7 +34,6 @@ fi
AC_SUBST(CINCLUDE, "-I.") AC_SUBST(CINCLUDE, "-I.")
# Check required pq library # Check required pq library
AC_SUBST(LIBS, "$LIBS -L`pg_config --libdir`")
AC_CHECK_LIB([pq], [PQconnectdb], [], [AC_MSG_ERROR([library 'pq' is required])]) AC_CHECK_LIB([pq], [PQconnectdb], [], [AC_MSG_ERROR([library 'pq' is required])])
AC_SUBST(CINCLUDE, "$CINCLUDE -I`pg_config --includedir`") AC_SUBST(CINCLUDE, "$CINCLUDE -I`pg_config --includedir`")