8000 meson: cpluspluscheck prereq · nbyavuz/postgres@ae41b24 · GitHub
[go: up one dir, main page]

Skip to content

Commit ae41b24

Browse files
committed
meson: cpluspluscheck prereq
1 parent 61dddce commit ae41b24

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/makefiles/meson.build

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ pgxs_kv = {
116116
'FLEXFLAGS': ' '.join(flex_flags),
117117

118118
'LIBS': var_libs,
119+
120+
# Needed for headerscheck/cpluspluscheck
121+
'perl_includespec': perl_dep.found() ? ' '.join(perl_ccflags) : '',
122+
'python_includespec': python3_dep.found() ? '-I@0@'.format(python3_inst.get_variable('INCLUDEPY')) : '',
119123
}
120124

121125
if llvm.found()
@@ -179,8 +183,8 @@ pgxs_empty = [
179183
'LIBOBJS', 'PG_CRC32C_OBJS', 'TAS',
180184
'DTRACEFLAGS', # only server has dtrace probes
181185

182-
'perl_archlibexp', 'perl_embed_ccflags', 'perl_embed_ldflags', 'perl_includespec', 'perl_privlibexp',
183-
'python_additional_libs', 'python_includespec', 'python_libdir', 'python_libspec', 'python_majorversion', 'python_version',
186+
'perl_archlibexp', 'perl_embed_ccflags', 'perl_embed_ldflags', 'perl_privlibexp',
187+
'python_additional_libs', 'python_libdir', 'python_libspec', 'python_majorversion', 'python_version',
184188

185189
# possible that some of these are referenced explicitly in pgxs makefiles?
186190
# For now not worth it.

0 commit comments

Comments
 (0)
0