Skip to content

Commit 590c7d6

Browse files
Merge pull request #285 from agriyakhetarpal/replace-deprecated-meson-option
Replace use of `get_pkgconfig_variable()` with `get_variable(pkgconfig: <...>)`
2 parents 40edeb6 + 55f654a commit 590c7d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ endif
102102
# Add rpaths for a local build of flint found via pkgconfig
103103
# https://github.com/mesonbuild/meson/issues/13046
104104
if get_option('add_flint_rpath')
105-
flint_lib_dir = flint_dep.get_pkgconfig_variable('libdir')
105+
flint_lib_dir = flint_dep.get_variable(pkgconfig: 'libdir')
106106
add_project_link_arguments(
107107
'-Wl,-rpath=' + flint_lib_dir,
108108
language: 'c',

0 commit comments

Comments
 (0)