summaryrefslogtreecommitdiff
path: root/src/devices/bluetooth
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2016-09-20 10:59:34 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2016-09-20 13:43:20 +0200
commitfb40060ac1742840eacc59abee701f00907278c2 (patch)
treec1db97333eae38d912177eca22dc6bcbfbe3d1ad /src/devices/bluetooth
parenta87560335562f424bfc1f79095fb2982d5087cfd (diff)
build: add macro to check shared objects symbols
Diffstat (limited to 'src/devices/bluetooth')
-rw-r--r--src/devices/bluetooth/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/bluetooth/Makefile.am b/src/devices/bluetooth/Makefile.am
index 8454702e5..8997bf786 100644
--- a/src/devices/bluetooth/Makefile.am
+++ b/src/devices/bluetooth/Makefile.am
@@ -1,5 +1,7 @@
include $(GLIB_MAKEFILE)
+include $(top_srcdir)/nm.mk
+
@GNOME_CODE_COVERAGE_RULES@
AM_CPPFLAGS = \
@@ -76,7 +78,7 @@ if ENABLE_TESTS
check-local:
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-device-plugin-bluetooth.so $(SYMBOL_VIS_FILE)
- LD_BIND_NOW=1 LD_PRELOAD=$(builddir)/.libs/libnm-device-plugin-bluetooth.so $(top_builddir)/src/NetworkManager --version >/dev/null
+ $(call check_so_symbols,$(builddir)/.libs/libnm-device-plugin-bluetooth.so)
endif