summaryrefslogtreecommitdiff
path: root/src/devices/bluetooth
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-01-11 12:34:40 +0100
committerThomas Haller <thaller@redhat.com>2018-01-11 12:46:01 +0100
commit34cb6f9877a9b7a7032899dbccca1def88da4191 (patch)
treee36cd40bbde4ae06d9f4225d3fb7b3ec7f115c20 /src/devices/bluetooth
parent98b46537fa1a91941b5f7a8252b3fce85554a855 (diff)
build/meson: use variables for ldflags and linker-script
Diffstat (limited to 'src/devices/bluetooth')
-rw-r--r--src/devices/bluetooth/meson.build6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/bluetooth/meson.build b/src/devices/bluetooth/meson.build
index 85d29c762..ec56a8b9a 100644
--- a/src/devices/bluetooth/meson.build
+++ b/src/devices/bluetooth/meson.build
@@ -14,10 +14,6 @@ deps = [
nm_dep
]
-ldflags = [
- '-Wl,--version-script,@0@'.format(linker_script_devices),
-]
-
if enable_bluez5_dun
sources += files('nm-bluez5-dun.c')
@@ -28,7 +24,7 @@ libnm_device_plugin_bluetooth = shared_module(
'nm-device-plugin-bluetooth',
sources: sources,
dependencies: deps,
- link_args: ldflags,
+ link_args: ldflags_linker_script_devices,
link_depends: linker_script_devices,
install: true,
install_dir: nm_pkglibdir