diff --git a/configure b/configure index e5ab641629..e2ea44edbf 100755 --- a/configure +++ b/configure @@ -23140,7 +23140,7 @@ fi if test "${ac_cv_lib_pq_PQexec}" = "yes"; then - PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz -lcrypt" + PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz" PGSQL_INCLUDE="-I${PGSQL_includedir}" PBX_PGSQL=1 elif test ! -z "${PGSQL_MANDATORY}"; diff --git a/configure.ac b/configure.ac index 868f9e7f66..aa06832334 100644 --- a/configure.ac +++ b/configure.ac @@ -665,7 +665,7 @@ if test "${PG_CONFIG}" != No; then [Define to indicate the PostgreSQL library]), [], -L${PGSQL_libdir} -lz) if test "${ac_cv_lib_pq_PQexec}" = "yes"; then - PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz -lcrypt" + PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz" PGSQL_INCLUDE="-I${PGSQL_includedir}" PBX_PGSQL=1 elif test ! -z "${PGSQL_MANDATORY}";