2013-11-14 17:58:55

by Andre Heider

[permalink] [raw]
Subject: [PATCH BlueZ] build: Fix out of tree builds

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



2013-11-15 09:37:53

by Andre Heider

[permalink] [raw]
Subject: Re: [PATCH BlueZ] build: Fix out of tree builds

On Thu, Nov 14, 2013 at 6:58 PM, Andre Heider <[email protected]> wrote:
> Don't create bogus symlinks when passing an absolute path to --prefix.

No idea how that happened, but I meant:
Don't create bogus symlinks when calling the configure script via an
absolute path.

;)

Regards,
Andre