aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-11-26 18:06:08 +0100
committerPeter Eisentraut <peter@eisentraut.org>2024-11-26 18:09:14 +0100
commite00c1e249f9b5308fc47b09b8945c47d5146aa64 (patch)
tree456e4e8c3e2bf1d22092f63417537f1b0cf117e2 /src
parentb0e572819d51bfd87d161e5e1d11178610f6fb3a (diff)
downloadpostgresql-e00c1e249f9b5308fc47b09b8945c47d5146aa64.tar.gz
postgresql-e00c1e249f9b5308fc47b09b8945c47d5146aa64.zip
meson: Build pgevent as shared_module rather than shared_library
This matches the behavior of the makefiles and the old MSVC build system. The main effect is that the build result gets installed into pkglibdir rather than bindir. The documentation says to locate the library in pkglibdir, so this makes the code match the documentation again. Reviewed-by: Ryohei Takahashi (Fujitsu) <r.takahashi_2@fujitsu.com> Discussion: https://www.postgresql.org/message-id/flat/TY3PR01MB118912125614599641CA881B782522%40TY3PR01MB11891.jpnprd01.prod.outlook.com
Diffstat (limited to 'src')
-rw-r--r--src/bin/pgevent/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bin/pgevent/meson.build b/src/bin/pgevent/meson.build
index 5c2d296fef9..f7422438664 100644
--- a/src/bin/pgevent/meson.build
+++ b/src/bin/pgevent/meson.build
@@ -21,13 +21,11 @@ if cc.get_id() == 'msvc'
pgevent_link_args += '/ignore:4104'
endif
-pgevent = shared_library('pgevent',
+pgevent = shared_module('pgevent',
pgevent_sources,
dependencies: [frontend_code],
link_args: pgevent_link_args,
vs_module_defs: 'pgevent.def',
- kwargs: default_lib_args + {
- 'name_prefix': '',
- },
+ kwargs: default_mod_args,
)
bin_targets += pgevent