mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
libpq needs its own copy of src/port/getpeereid.
... on some platforms, anyway. Per buildfarm.
This commit is contained in:
parent
c82d415acc
commit
2021c5a53a
@ -37,7 +37,7 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
|
|||||||
# libpgport C files we always use
|
# libpgport C files we always use
|
||||||
OBJS += chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o thread.o
|
OBJS += chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o thread.o
|
||||||
# libpgport C files that are needed if identified by configure
|
# libpgport C files that are needed if identified by configure
|
||||||
OBJS += $(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o, $(LIBOBJS))
|
OBJS += $(filter crypt.o getaddrinfo.o getpeereid.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o, $(LIBOBJS))
|
||||||
# backend/libpq
|
# backend/libpq
|
||||||
OBJS += ip.o md5.o
|
OBJS += ip.o md5.o
|
||||||
# utils/mb
|
# utils/mb
|
||||||
@ -88,7 +88,7 @@ backend_src = $(top_srcdir)/src/backend
|
|||||||
# For some libpgport modules, this only happens if configure decides
|
# For some libpgport modules, this only happens if configure decides
|
||||||
# the module is needed (see filter hack in OBJS, above).
|
# the module is needed (see filter hack in OBJS, above).
|
||||||
|
|
||||||
chklocale.c crypt.c getaddrinfo.c inet_aton.c inet_net_ntop.c noblock.c open.c pgsleep.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c: % : $(top_srcdir)/src/port/%
|
chklocale.c crypt.c getaddrinfo.c getpeereid.c inet_aton.c inet_net_ntop.c noblock.c open.c pgsleep.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c: % : $(top_srcdir)/src/port/%
|
||||||
rm -f $@ && $(LN_S) $< .
|
rm -f $@ && $(LN_S) $< .
|
||||||
|
|
||||||
ip.c md5.c: % : $(backend_src)/libpq/%
|
ip.c md5.c: % : $(backend_src)/libpq/%
|
||||||
@ -135,7 +135,7 @@ clean distclean: clean-lib
|
|||||||
# Might be left over from a Win32 client-only build
|
# Might be left over from a Win32 client-only build
|
||||||
rm -f pg_config_paths.h
|
rm -f pg_config_paths.h
|
||||||
rm -f inet_net_ntop.c noblock.c pgstrcasecmp.c thread.c
|
rm -f inet_net_ntop.c noblock.c pgstrcasecmp.c thread.c
|
||||||
rm -f chklocale.c crypt.c getaddrinfo.c inet_aton.c open.c snprintf.c strerror.c strlcpy.c win32error.c
|
rm -f chklocale.c crypt.c getaddrinfo.c getpeereid.c inet_aton.c open.c snprintf.c strerror.c strlcpy.c win32error.c
|
||||||
rm -f pgsleep.c
|
rm -f pgsleep.c
|
||||||
rm -f md5.c ip.c
|
rm -f md5.c ip.c
|
||||||
rm -f encnames.c wchar.c
|
rm -f encnames.c wchar.c
|
||||||
|
Loading…
Reference in New Issue
Block a user