summary refs log tree commit diff
path: root/libnm-util/meson.build
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-10-20 01:30:31 +0200
committerMichael Biebl <biebl@debian.org>2018-10-20 01:30:31 +0200
commit6518e361171f64bcaaa4bf868139362ed95cc2e0 (patch)
treed2d5b53faf80646a40ec2c0c7f2a42b3959612f5 /libnm-util/meson.build
parente126f3e804c35480c4f075777430419d6ece23da (diff)
New upstream version 1.14.2 upstream/1.14.2
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 1e30fd9a..44d9e735 100644
--- a/libnm-util/meson.build
+++ b/libnm-util/meson.build
@@ -100,7 +100,6 @@ deps = [
 
 common_cflags = [
   '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_LIBNM_UTIL',
-  '-DNMLOCALEDIR="@0@"'.format(nm_localedir),
 ]
 
 cflags = common_cflags + [
@@ -192,10 +191,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(