Skip to content

Commit e39aa5e

Browse files
committed
meson: update script in libfdpp subproject [#146]
1.3.0 is required for `env` in `generator.process()`. dependency.get_pkgconfig_variable() is deprecated.
1 parent 4218062 commit e39aa5e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

fdpp/meson.build

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
project('libfdpp', ['c', 'cpp'], default_options: ['cpp_std=c++20'],
2-
version: '0.1')
2+
version: '0.1', meson_version: '>= 1.3.0')
3+
34
MF = meson.current_source_dir() / 'parsers/mkfar.sh'
45
MA = meson.current_source_dir() / 'parsers/mkasmdefs.sh'
56
PD = meson.current_source_dir() / 'parsers/parse_decls.sh'
67
M4 = meson.current_source_dir() / 'parsers/thunks.m4'
78
tg = dependency('thunk_gen')
8-
TG = tg.get_pkgconfig_variable('binary')
9-
TGS = tg.get_pkgconfig_variable('tgscript')
10-
TGM4 = tg.get_pkgconfig_variable('m4script')
9+
TG = tg.get_variable(pkgconfig: 'binary')
10+
TGS = tg.get_variable(pkgconfig: 'tgscript')
11+
TGM4 = tg.get_variable(pkgconfig: 'm4script')
1112
TFLAGS = ['-a', '2', '-p', '2']
1213
SRC = 'src'
1314
rel_inc = 'include/fdpp'

0 commit comments

Comments
 (0)