Skip to contentSkip to conversation

build: Fix out of tree builds

PATCH In review Andre Heider 1 participant 2 messages Nov 14, 2013 – Nov 15, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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(-)
Makefile.am +2 -2
index 69a2805..87448ab 100644
@@ -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
Signature · 1 line
1.8.4.3
#1 lore raw
Quoted 1 line · Andre Heider

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