From a3385bd1f98c7436d07a5c91404d9fa63b425177 Mon Sep 17 00:00:00 2001 From: Uladzimir Karpenka Date: Tue, 2 Jun 2026 13:35:04 +0300 Subject: [PATCH] Fix parallel build race: DLL link must wait for fftw-float install With -jN, the DLL link step could start before fftw-float finished installing libfftw3f.dll.a, since $(DLL) only had an implicit ordering through .o compilation (which needs FFTW_LIB_D but not FFTW_LIB_F). Add both FFTW_LIB_D and FFTW_LIB_F as explicit prerequisites of $(DLL). Co-Authored-By: Claude Sonnet 4.6 --- Makefile.windows | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.windows b/Makefile.windows index 6574d95..ac1666a 100644 --- a/Makefile.windows +++ b/Makefile.windows @@ -246,7 +246,7 @@ $(OBJDIR)/specbleach/%.o: $(SPECBLEACH_DIR)/%.c | $(FFTW_LIB_D) $(OUTDIR) $(OBJDIR): mkdir -p $@ -$(DLL): $(OBJS) $(NR34_DEPS) | $(OUTDIR) +$(DLL): $(OBJS) $(NR34_DEPS) $(FFTW_LIB_D) $(FFTW_LIB_F) | $(OUTDIR) @echo ">>> Линкуем $@..." $(CC) -shared \ -Wl,--out-implib,$(IMPLIB) \