[makefile] create object dirs on windres (race condition)

Signed-off-by: R4SAS <r4sas@i2pmail.org>
(cherry picked from commit bef8587d8f)
This commit is contained in:
R4SAS 2021-08-07 01:38:35 +03:00 committed by dr|z3d
parent cfb13bc396
commit 79a451a596

View file

@ -61,5 +61,5 @@ ifeq ($(USE_ASLR),yes)
LDFLAGS += -Wl,--nxcompat -Wl,--high-entropy-va -Wl,--dynamicbase,--export-all-symbols LDFLAGS += -Wl,--nxcompat -Wl,--high-entropy-va -Wl,--dynamicbase,--export-all-symbols
endif endif
obj/%.o : %.rc obj/%.o : %.rc | mk_obj_dir
$(WINDRES) -i $< -o $@ $(WINDRES) -i $< -o $@