@@ -27,13 +27,14 @@ endif
27
27
# Need to recompile any libpgport object files because we need these
28
28
# object files to use the same compile flags as libpq. If we used
29
29
# 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.
31
32
LIBS :=$(LIBS:-lpgport= )
32
33
33
34
OBJS =fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o\
34
35
fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o\
35
36
libpq-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\
37
38
$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o,$(LIBOBJS ) )
38
39
39
40
ifeq ($(PORTNAME ) , cygwin)
@@ -80,7 +81,7 @@ backend_src = $(top_srcdir)/src/backend
80
81
# For port modules, this only happens if configure decides the module
81
82
# is needed (see filter hack in OBJS, above).
82
83
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/%
84
85
rm -f$@ && $(LN_S ) $< .
85
86
86
87
md5.c ip.c :% :$(backend_src ) /libpq/%