summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@codecoup.pl>2019-02-12 16:15:14 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-02-13 17:15:17 +0200
commited62fed6b8d739567456f17dd16dca2ca64bad0d (patch)
tree37cd7bcd85a49f861982ac4ca868fc3c977aed11 /Makefile.tools
parent64438092cb3d1413b698464fa70d61c801d3ba0f (diff)
downloadbluez-ed62fed6b8d739567456f17dd16dca2ca64bad0d.tar.gz
build: Fix missing dependency for btpclient
prog_DEPENDENCIES is computed by automake only if not supplied so we must provide all dependencies if provided manually. This resulted in random build failures: libtool: error: cannot find the library 'lib/libbluetooth-internal.la' or unhandled argument 'lib/libbluetooth-internal.la' make[1]: *** [Makefile:5436: tools/btpclient] Error 1
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 1f8271542..0f94bbbe7 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -471,5 +471,5 @@ noinst_PROGRAMS += tools/btpclient
tools_btpclient_SOURCES = tools/btpclient.c src/shared/btp.c src/shared/btp.h
tools_btpclient_LDADD = lib/libbluetooth-internal.la \
src/libshared-ell.la $(ell_ldadd)
-tools_btpclient_DEPENDENCIES = $(ell_dependencies)
+tools_btpclient_DEPENDENCIES = lib/libbluetooth-internal.la $(ell_dependencies)
endif