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 <noreply@anthropic.com>
This commit is contained in:
parent
b7d156ea40
commit
a3385bd1f9
@ -246,7 +246,7 @@ $(OBJDIR)/specbleach/%.o: $(SPECBLEACH_DIR)/%.c | $(FFTW_LIB_D)
|
|||||||
$(OUTDIR) $(OBJDIR):
|
$(OUTDIR) $(OBJDIR):
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
$(DLL): $(OBJS) $(NR34_DEPS) | $(OUTDIR)
|
$(DLL): $(OBJS) $(NR34_DEPS) $(FFTW_LIB_D) $(FFTW_LIB_F) | $(OUTDIR)
|
||||||
@echo ">>> Линкуем $@..."
|
@echo ">>> Линкуем $@..."
|
||||||
$(CC) -shared \
|
$(CC) -shared \
|
||||||
-Wl,--out-implib,$(IMPLIB) \
|
-Wl,--out-implib,$(IMPLIB) \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user