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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux