@@ -27,13 +27,14 @@ endif
2727# Need to recompile any libpgport object files because we need these
2828# object files to use the same compile flags as libpq. If we used
2929# the object files from libpgport, this would not be true on all
30- # platforms.
30+ # platforms. We filter some object files so we only use object
31+ # files configure says we need.
3132LIBS :=$(LIBS:-lpgport= )
3233
3334OBJS =fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o\
3435fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o\
3536libpq-events.o\
36- md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o\
37+ md5.o ip.o wchar.o encnames.oinet_net_ntop.o noblock.o pgstrcasecmp.o thread.o\
3738$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o,$(LIBOBJS ) )
3839
3940ifeq ($(PORTNAME ) , cygwin)
@@ -80,7 +81,7 @@ backend_src = $(top_srcdir)/src/backend
8081# For port modules, this only happens if configure decides the module
8182# is needed (see filter hack in OBJS, above).
8283
83- crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c pgsleep.c :% :$(top_srcdir ) /src/port/%
84+ crypt.c getaddrinfo.c inet_aton.c inet_net_ntop.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c pgsleep.c :% :$(top_srcdir ) /src/port/%
8485rm -f$@ && $(LN_S ) $< .
8586
8687md5.c ip.c :% :$(backend_src ) /libpq/%