Skip to content

Commit

Permalink
Fix build error for missing commit.h
Browse files Browse the repository at this point in the history
Add the target commit.h as a dependency of version.o, so it gets
generated before being included in version.cc, otherwise when doing a
parallel build it can fail.
  • Loading branch information
rodarima committed Dec 17, 2024
1 parent c046402 commit 0f49ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ dillo_SOURCES = \

# https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html
nodist_dillo_SOURCES = commit.h
dillo.$(OBJEXT): commit.h
version.$(OBJEXT) dillo.$(OBJEXT): commit.h
CLEANFILES = commit.h

if GIT_AVAILABLE
Expand Down

0 comments on commit 0f49ee5

Please sign in to comment.