Skip to content

Commit

Permalink
meson: update script in libfdpp subproject [#146]
Browse files Browse the repository at this point in the history
1.3.0 is required for `env` in `generator.process()`.

dependency.get_pkgconfig_variable() is deprecated.
  • Loading branch information
stsp committed Apr 18, 2024
1 parent 4218062 commit e39aa5e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions fdpp/meson.build
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
project('libfdpp', ['c', 'cpp'], default_options: ['cpp_std=c++20'],
version: '0.1')
version: '0.1', meson_version: '>= 1.3.0')

MF = meson.current_source_dir() / 'parsers/mkfar.sh'
MA = meson.current_source_dir() / 'parsers/mkasmdefs.sh'
PD = meson.current_source_dir() / 'parsers/parse_decls.sh'
M4 = meson.current_source_dir() / 'parsers/thunks.m4'
tg = dependency('thunk_gen')
TG = tg.get_pkgconfig_variable('binary')
TGS = tg.get_pkgconfig_variable('tgscript')
TGM4 = tg.get_pkgconfig_variable('m4script')
TG = tg.get_variable(pkgconfig: 'binary')
TGS = tg.get_variable(pkgconfig: 'tgscript')
TGM4 = tg.get_variable(pkgconfig: 'm4script')
TFLAGS = ['-a', '2', '-p', '2']
SRC = 'src'
rel_inc = 'include/fdpp'
Expand Down

0 comments on commit e39aa5e

Please sign in to comment.