mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Check for -lresolv.
This commit is contained in:
@ -677,6 +677,7 @@ AC_CHECK_LIB(compat, main)
|
|||||||
AC_CHECK_LIB(BSD, main)
|
AC_CHECK_LIB(BSD, main)
|
||||||
AC_CHECK_LIB(gen, main)
|
AC_CHECK_LIB(gen, main)
|
||||||
AC_CHECK_LIB(PW, main)
|
AC_CHECK_LIB(PW, main)
|
||||||
|
AC_CHECK_LIB(resolv, main)
|
||||||
AC_SEARCH_LIBS(crypt, crypt)
|
AC_SEARCH_LIBS(crypt, crypt)
|
||||||
AC_CHECK_LIB(bind, __inet_ntoa)
|
AC_CHECK_LIB(bind, __inet_ntoa)
|
||||||
dnl only consider libz to be present if we find <zlib.h> as well
|
dnl only consider libz to be present if we find <zlib.h> as well
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# Copyright (c) 1998, Regents of the University of California
|
# Copyright (c) 1998, Regents of the University of California
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.37 2000/12/06 19:37:08 petere Exp $
|
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.38 2001/02/04 14:09:33 petere Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -171,7 +171,7 @@ ifeq ($(PORTNAME), solaris)
|
|||||||
else
|
else
|
||||||
LINK.shared += -Wl,-h,$(soname)
|
LINK.shared += -Wl,-h,$(soname)
|
||||||
endif
|
endif
|
||||||
SHLIB_LINK += -ldl -lsocket -lresolv -lnsl -lm -lc
|
SHLIB_LINK += -lm -lc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), osf)
|
ifeq ($(PORTNAME), osf)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 1994, Regents of the University of California
|
# Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.48 2001/01/20 23:07:27 tgl Exp $
|
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.49 2001/02/04 14:09:33 petere Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ endif
|
|||||||
# Add libraries that libpq depends (or might depend) on into the
|
# Add libraries that libpq depends (or might depend) on into the
|
||||||
# shared library link. (The order in which you list them here doesn't
|
# shared library link. (The order in which you list them here doesn't
|
||||||
# matter.)
|
# matter.)
|
||||||
SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl, $(LIBS))
|
SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv, $(LIBS))
|
||||||
|
|
||||||
|
|
||||||
all: all-lib
|
all: all-lib
|
||||||
|
Reference in New Issue
Block a user