summary refs log tree commit diff
path: root/libnm-util/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-util/meson.build')
-rw-r--r--libnm-util/meson.build7
1 files changed, 3 insertions, 4 deletions
diff --git a/libnm-util/meson.build b/libnm-util/meson.build
index 55df5501..da807bc6 100644
--- a/libnm-util/meson.build
+++ b/libnm-util/meson.build
@@ -102,7 +102,6 @@ deps = [
 
 common_cflags = [
   '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIBNM_UTIL',
-  '-DNMLOCALEDIR="@0@"'.format(nm_localedir),
 ]
 
 cflags = common_cflags + [
@@ -167,10 +166,10 @@ if enable_introspection
   )
 endif
 
-run_target(
+test(
   'check-local-exports-' + libnm_util_name,
-  command: [check_exports, libnm_util.full_path(), linker_script],
-  depends: libnm_util
+  check_exports,
+  args: [libnm_util.full_path(), linker_script],
 )
 
 sources = files(