about summary refs log tree commit diff
path: root/src/devices/bluetooth/meson.build
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-10-30 10:26:10 +0100
committerMichael Biebl <biebl@debian.org>2018-10-30 10:26:10 +0100
commitbd8ab7e82b1ae4e8899b30a59a7b35ba009344ea (patch)
tree83691f38efeef4d5dd7a85c0893fa8a54274728f /src/devices/bluetooth/meson.build
parentc15221a34c0af3a5b2c03dfe80c2a9841acefb03 (diff)
parent3cdef184c37fa2c152f8542c6107f8a623735a1c (diff)
Merge branch 'master' into stretch-backports
Diffstat (limited to 'src/devices/bluetooth/meson.build')
-rw-r--r--src/devices/bluetooth/meson.build9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bluetooth/meson.build b/src/devices/bluetooth/meson.build
index 30284f9e..628a3bc8 100644
--- a/src/devices/bluetooth/meson.build
+++ b/src/devices/bluetooth/meson.build
@@ -26,15 +26,16 @@ libnm_device_plugin_bluetooth = shared_module(
   link_args: ldflags_linker_script_devices,
   link_depends: linker_script_devices,
   install: true,
-  install_dir: nm_plugindir
+  install_dir: nm_plugindir,
+  install_rpath: nm_plugindir
 )
 
 core_plugins += libnm_device_plugin_bluetooth
 
-run_target(
+test(
   'check-local-devices-bluetooth',
-  command: [check_exports, libnm_device_plugin_bluetooth.full_path(), linker_script_devices],
-  depends: libnm_device_plugin_bluetooth
+  check_exports,
+  args: [libnm_device_plugin_bluetooth.full_path(), linker_script_devices],
 )
 
 # FIXME: check_so_symbols replacement