summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2024-10-30 07:30:00 +0000
committerPeter Eisentraut2024-10-30 07:30:00 +0000
commit2845cd1ca0cd2c11230f75d75405882e8bc35525 (patch)
treeb5b9be4e3e840e4120c7e23159b5b82128161de5
parent745217a051a9341e8c577ea59a87665d331d4af0 (diff)
meson: Add missing dependency to unicode test programs
The test programs in src/common/unicode/ (case_test, category_test, norm_test), don't build with meson if the nls option is enabled, because a libintl dependency is missing. Fix that. (The makefiles are ok.) Reviewed-by: Aleksander Alekseev <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/52db1d2b-4b96-473e-b323-a4b16a950fba%40eisentraut.org
-rw-r--r--src/common/unicode/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/unicode/meson.build b/src/common/unicode/meson.build
index b9a4181c320..38dac59672e 100644
--- a/src/common/unicode/meson.build
+++ b/src/common/unicode/meson.build
@@ -104,7 +104,7 @@ inc = include_directories('.')
case_test = executable('case_test',
['case_test.c'],
- dependencies: [frontend_port_code, icu],
+ dependencies: [frontend_port_code, icu, libintl],
include_directories: inc,
link_with: [common_static, pgport_static],
build_by_default: false,
@@ -115,7 +115,7 @@ case_test = executable('case_test',
category_test = executable('category_test',
['category_test.c'],
- dependencies: [frontend_port_code, icu],
+ dependencies: [frontend_port_code, icu, libintl],
include_directories: inc,
link_with: [common_static, pgport_static],
build_by_default: false,
@@ -126,7 +126,7 @@ category_test = executable('category_test',
norm_test = executable('norm_test',
['norm_test.c', norm_test_table],
- dependencies: [frontend_port_code],
+ dependencies: [frontend_port_code, libintl],
include_directories: inc,
link_with: [common_static, pgport_static],
build_by_default: false,