diff options
Diffstat (limited to 'src/backend/replication/libpqwalreceiver/meson.build')
-rw-r--r-- | src/backend/replication/libpqwalreceiver/meson.build | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/backend/replication/libpqwalreceiver/meson.build b/src/backend/replication/libpqwalreceiver/meson.build new file mode 100644 index 0000000..ec439fb --- /dev/null +++ b/src/backend/replication/libpqwalreceiver/meson.build @@ -0,0 +1,21 @@ +# Copyright (c) 2022-2023, PostgreSQL Global Development Group + +libpqwalreceiver_sources = files( + 'libpqwalreceiver.c', +) + +if host_system == 'windows' + libpqwalreceiver_sources += rc_lib_gen.process(win32ver_rc, extra_args: [ + '--NAME', 'pqwalreceiver', + '--FILEDESC', 'libpqwalreceiver - receive WAL during streaming replication',]) +endif + +libpqwalreceiver = shared_module('pqwalreceiver', + libpqwalreceiver_sources, + kwargs: pg_mod_args + { + 'name_prefix': 'lib', + 'dependencies': pg_mod_args['dependencies'] + [libpq], + } +) + +backend_targets += libpqwalreceiver |