summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Makerules1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e2c7420e0..6dc8a41fd6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,8 @@
(R_RISCV_TLS_DTPREL64): Likewise.
(R_RISCV_TLS_TPREL32): Likewise.
(R_RISCV_TLS_TPREL64): Likewise.
+ * Makerules (make-link-multidir): Make directories before linking into
+ them.
2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
diff --git a/Makerules b/Makerules
index d94e4ca0c1..ef6abeac6d 100644
--- a/Makerules
+++ b/Makerules
@@ -1081,6 +1081,7 @@ mv -f $@.new $@
endef
define make-link-multidir
$(patsubst %/,cd %,$(objpfx)); \
+ $(addprefix $(abspath $(..)scripts/mkinstalldirs) ,$(dir $(multidir))); \
$(LN_S) . $(multidir) 2> /dev/null; \
test -L $(multidir)
endef