Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2845cd1

Browse files
committed
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 <aleksander@timescale.com> Discussion: https://www.postgresql.org/message-id/flat/52db1d2b-4b96-473e-b323-a4b16a950fba%40eisentraut.org
1 parent 745217a commit 2845cd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/common/unicode/meson.build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ inc = include_directories('.')
104104

105105
case_test = executable('case_test',
106106
['case_test.c'],
107-
dependencies: [frontend_port_code, icu],
107+
dependencies: [frontend_port_code, icu, libintl],
108108
include_directories: inc,
109109
link_with: [common_static, pgport_static],
110110
build_by_default: false,
@@ -115,7 +115,7 @@ case_test = executable('case_test',
115115

116116
category_test = executable('category_test',
117117
['category_test.c'],
118-
dependencies: [frontend_port_code, icu],
118+
dependencies: [frontend_port_code, icu, libintl],
119119
include_directories: inc,
120120
link_with: [common_static, pgport_static],
121121
build_by_default: false,
@@ -126,7 +126,7 @@ category_test = executable('category_test',
126126

127127
norm_test = executable('norm_test',
128128
['norm_test.c', norm_test_table],
129-
dependencies: [frontend_port_code],
129+
dependencies: [frontend_port_code, libintl],
130130
include_directories: inc,
131131
link_with: [common_static, pgport_static],
132132
build_by_default: false,

0 commit comments

Comments
 (0)