File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -102,14 +102,15 @@ endif
102
102
# A few files are currently only built for frontend, not server.
103
103
# logging.c is excluded from OBJS_FRONTEND_SHLIB (shared library) as
104
104
# a matter of policy, because it is not appropriate for general purpose
105
- # libraries such as libpq to report errors directly.
105
+ # libraries such as libpq to report errors directly. fe_memutils.c is
106
+ # excluded because libpq must not exit() on allocation failure.
106
107
OBJS_FRONTEND_SHLIB = \
107
108
$(OBJS_COMMON ) \
108
- fe_memutils.o \
109
109
restricted_token.o \
110
110
sprompt.o
111
111
OBJS_FRONTEND = \
112
112
$(OBJS_FRONTEND_SHLIB ) \
113
+ fe_memutils.o \
113
114
logging.o
114
115
115
116
# foo.o, foo_shlib.o, and foo_srv.o are all built from foo.c
Original file line number Diff line number Diff line change @@ -101,17 +101,18 @@ common_sources_cflags = {
101
101
# A few files are currently only built for frontend, not server.
102
102
# logging.c is excluded from OBJS_FRONTEND_SHLIB (shared library) as
103
103
# a matter of policy, because it is not appropriate for general purpose
104
- # libraries such as libpq to report errors directly.
104
+ # libraries such as libpq to report errors directly. fe_memutils.c is
105
+ # excluded because libpq must not exit() on allocation failure.
105
106
106
107
common_sources_frontend_shlib = common_sources
107
108
common_sources_frontend_shlib += files (
108
- ' fe_memutils.c' ,
109
109
' restricted_token.c' ,
110
110
' sprompt.c' ,
111
111
)
112
112
113
113
common_sources_frontend_static = common_sources_frontend_shlib
114
114
common_sources_frontend_static += files (
115
+ ' fe_memutils.c' ,
115
116
' logging.c' ,
116
117
)
117
118
You can’t perform that action at this time.
0 commit comments