diff options
Diffstat (limited to 'libnm-util/meson.build')
| -rw-r--r-- | libnm-util/meson.build | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libnm-util/meson.build b/libnm-util/meson.build index 44d9e735..1e30fd9a 100644 --- a/libnm-util/meson.build +++ b/libnm-util/meson.build @@ -100,6 +100,7 @@ deps = [ common_cflags = [ '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIBNM_UTIL', + '-DNMLOCALEDIR="@0@"'.format(nm_localedir), ] cflags = common_cflags + [ @@ -191,10 +192,10 @@ if enable_introspection ) endif -test( +run_target( 'check-local-exports-' + libnm_util_name, - check_exports, - args: [libnm_util.full_path(), linker_script], + command: [check_exports, libnm_util.full_path(), linker_script], + depends: libnm_util ) sources = files( |