Skip to content

Commit

Permalink
[preload] Ensure exported.h is generated first to fix parallel builds
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Bidar <[email protected]>
  • Loading branch information
Thaodan committed Apr 26, 2024
1 parent 890a0e2 commit 993dfe4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions preload/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ targets := $(targets) $(D)/libsb2.$(SHLIBEXT)

$(D)/libsb2.o $(D)/sb_l10n.o: $(OBJDIR)/preload/exported.h
$(OBJDIR)/preload/exported.h $(D)/ldexportlist: $(OBJDIR)/preload/wrappers.c
# Include both paths with $(OBJDIR) and without
# Make doesn't seem to follow the .NOTPARALLEL rule correctly
# without
.NOTPARALLEL: $(OBJDIR)/preload/exported.h
.NOTPARALLEL: preload/exported.h
$(OBJDIR)/preload/wrappers.c: preload/interface.master preload/gen-interface.pl
$(MKOUTPUTDIR)
$(P)PERL
Expand Down

0 comments on commit 993dfe4

Please sign in to comment.