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:
parent
324f7cebe0
commit
846efaa40f
2
src/configure
vendored
2
src/configure
vendored
@ -3050,8 +3050,6 @@ CINCLUDE="-I."
|
||||
|
||||
|
||||
# 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_n "checking for PQconnectdb in -lpq... " >&6; }
|
||||
|
@ -34,7 +34,6 @@ fi
|
||||
AC_SUBST(CINCLUDE, "-I.")
|
||||
|
||||
# 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_SUBST(CINCLUDE, "$CINCLUDE -I`pg_config --includedir`")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user