meson: Build pgevent as shared_module rather than shared_library
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 26 Nov 2024 17:06:08 +0000 (18:06 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 26 Nov 2024 17:09:05 +0000 (18:09 +0100)
commit4ee130c6e03becefae94e66bf537cd1279823c68
tree2d29a79b38706b78d9dd143d2fcc0355b4c3edc4
parente6c32d9fad18f5a1dcb13c13f02445061b60523b
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
src/bin/pgevent/meson.build