From 026726774575796a81ca795cb1de5490cc349a08 Mon Sep 17 00:00:00 2001 From: Andy Holmes Date: Fri, 14 Aug 2020 21:03:23 -0700 Subject: [PATCH] meson: fix finding gjs The result of get_pkgconfig_variable() needs to be wrapped in find_program(). --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 05d0aec..2aa9fed 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project('jasmine-gjs', version: '2.2.1', license: 'MIT', gjs_dep = dependency('gjs-1.0', required: false) if gjs_dep.found() - gjs = gjs_dep.get_pkgconfig_variable('gjs_console') + gjs = find_program(gjs_dep.get_pkgconfig_variable('gjs_console')) else gjs = find_program('gjs', 'gjs-console') endif