aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-10-05 09:56:05 -0700
committerAndres Freund <andres@anarazel.de>2022-10-05 09:56:05 -0700
commita1261cd16f07f6db12a54b94d9e36175198951b4 (patch)
treeb681244f904f7edba8c8b9c9192b109593d55619 /src/interfaces/ecpg/test
parent089c0bc7a760ea8f654a054dc8363e7f0baf79a2 (diff)
downloadpostgresql-a1261cd16f07f6db12a54b94d9e36175198951b4.tar.gz
postgresql-a1261cd16f07f6db12a54b94d9e36175198951b4.zip
meson: ecpg: Split definition of static and shared libraries
Required for correct resource file generation, as the resource files should only be added to the shared library. This also fixes a bunch of issues in the .pc files. Previously I tried to avoid building sources twice, once for the static and once for the shared libraries. We could still do so, but it's not clear that it's worth the complication. Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com> Discussion: https://postgr.es/m/20220927011951.j3h4o7n6bhf7dwau@awork3.anarazel.de
Diffstat (limited to 'src/interfaces/ecpg/test')
-rw-r--r--src/interfaces/ecpg/test/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/meson.build b/src/interfaces/ecpg/test/meson.build
index f0ace641f0c..8904aa7fd90 100644
--- a/src/interfaces/ecpg/test/meson.build
+++ b/src/interfaces/ecpg/test/meson.build
@@ -22,7 +22,7 @@ testprep_targets += pg_regress_ecpg
ecpg_test_exec_kw = {
'dependencies': [frontend_code, libpq],
'include_directories': [ecpg_inc],
- 'link_with': [ecpglib, ecpg_compat, ecpg_pgtypes],
+ 'link_with': [ecpglib_so, ecpg_compat_so, ecpg_pgtypes_so],
'build_by_default': false,
'install': false,
}