summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 69d86df1e0b2..905f3c7be58e 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -35,6 +35,7 @@ endif
lzma:
$(Q)printf "Building lzma... skipped\n"
-$(obj)/%.o: $(src)/lib/%.c
+$(obj)/lib/%.o: $(src)/lib/%.c
+ $(Q)mkdir -p $(obj)/lib
$(Q)$(CC) $(INITCFLAGS) -c $< -o $@