[PATCH BlueZ] build: Fix out of tree builds

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

 



Don't create bogus symlinks when passing an absolute path to --prefix.
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 69a2805..87448ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -318,9 +318,9 @@ tools/%.rules:
 
 $(lib_libbluetooth_la_OBJECTS): $(local_headers)
 
-lib/bluetooth/%.h: lib/%.h
+lib/bluetooth/%.h: $(abs_top_srcdir)/lib/%.h
 	$(AM_V_at)$(MKDIR_P) lib/bluetooth
-	$(AM_V_GEN)$(LN_S) -f $(abs_top_builddir)/$< $@
+	$(AM_V_GEN)$(LN_S) -f $< $@
 
 clean-local:
 	$(RM) -r lib/bluetooth
-- 
1.8.4.3

--
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