diff options
| author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-02-21 22:46:17 -0300 |
|---|---|---|
| committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2013-02-21 22:46:17 -0300 |
| commit | a73018392636ce832b09b5c31f6ad1f18a4643ea (patch) | |
| tree | 45ff73dc25699e9156147948e7f4ba2a85961a33 /src/backend/Makefile | |
| parent | 6e3fd964632e95c7359457b7d67aa20c72a71679 (diff) | |
| download | postgresql-a73018392636ce832b09b5c31f6ad1f18a4643ea.tar.gz | |
Move relpath() to libpgcommon
This enables non-backend code, such as pg_xlogdump, to use it easily.
The previous location, in src/backend/catalog/catalog.c, made that
essentially impossible because that file depends on many backend-only
facilities; so this needs to live separately.
Diffstat (limited to 'src/backend/Makefile')
| -rw-r--r-- | src/backend/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/backend/Makefile b/src/backend/Makefile index 323b417ed7..318cdbcf76 100644 --- a/src/backend/Makefile +++ b/src/backend/Makefile @@ -35,10 +35,12 @@ LOCALOBJS += utils/probes.o endif endif -OBJS = $(SUBDIROBJS) $(LOCALOBJS) $(top_builddir)/src/port/libpgport_srv.a +OBJS = $(SUBDIROBJS) $(LOCALOBJS) $(top_builddir)/src/port/libpgport_srv.a \ + $(top_builddir)/src/common/libpgcommon_srv.a -# We put libpgport into OBJS, so remove it from LIBS; also add libldap -LIBS := $(filter-out -lpgport, $(LIBS)) $(LDAP_LIBS_BE) +# We put libpgport and libpgcommon into OBJS, so remove it from LIBS; also add +# libldap +LIBS := $(filter-out -lpgport -lpgcommon, $(LIBS)) $(LDAP_LIBS_BE) # The backend doesn't need everything that's in LIBS, however LIBS := $(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS)) |
