Thread (2 messages) flat view 2 messages, 1 author, 2011-07-21
STALE5495d

[PATCH BlueZ] Fix "make distcheck" when libbluetooth is not installed

From: Anderson Lizardo <hidden>
Date: 2011-07-20 22:23:41
Subsystem: the rest · Maintainer: Linus Torvalds

Recently, the audio plugin began to include <bluetooth/sdp.h>. This only
works after the symbolic links in lib/bluetooth/ have been created (or
the BlueZ headers are installed on /usr/include). The BUILT_SOURCES
automake variable can be used to force generating these symlinks prior
to other build targets.
---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 52c49fb..9f4e43f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,6 +64,7 @@ lib_libbluetooth_la_DEPENDENCIES = $(local_headers)
 
 CLEANFILES += $(local_headers)
 
+BUILT_SOURCES = $(local_headers)
 
 if SBC
 noinst_LTLIBRARIES += sbc/libsbc.la
-- 
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help