From 725d47ba57606768411740fdf20d022b469b7cd2 Mon Sep 17 00:00:00 2001 From: Yunhan Wang Date: Wed, 23 Aug 2017 15:58:39 -0700 Subject: [PATCH] build: use abspath for lib/bluetooth When building from out of tree, and the top build dir was specified as an absolute path, the linked headers in ${builddir}/lib/bluetooth were broken. This patch fixes it by relying on make's abspath macro as opposed to the path concatenation. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 555f301ca..8faabf44b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -496,7 +496,7 @@ $(lib_libbluetooth_la_OBJECTS): $(local_headers) lib/bluetooth/%.h: lib/%.h $(AM_V_at)$(MKDIR_P) lib/bluetooth - $(AM_V_GEN)$(LN_S) -f "$(abs_top_builddir)"/$< $@ + $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@ if COVERAGE clean-coverage: -- 2.47.3