Skip to content

Commit

Permalink
fix(build): Correct dependencies in non-embedded mode
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jan 4, 2025
1 parent 15a20e0 commit 5805cd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ $(CARGO_BIN): justenough/.libs/justenoughicu.a
$(CARGO_BIN): justenough/.libs/justenoughlibtexpdf.a
$(CARGO_BIN): justenough/.libs/svg.a
$(CARGO_BIN): libtexpdf/.libs/libtexpdf.a
if !EMBEDDED_RESOURCES
$(CARGO_BIN): $(pkglib_LIBRARIES)
endif !EMBEDDED_RESOURCES

src/embed-includes.rs: Makefile-distfiles
{
Expand All @@ -154,7 +151,10 @@ src/embed.rs: src/embed.rs.in src/embed-includes.rs
-e '/@EMBEDDED_INCLUDE_LIST@/r $(word 2,$^)' \
-e '/@EMBEDDED_INCLUDE_LIST@/d' \
$< > $@
endif EMBEDDED_RESOURCES

else !EMBEDDED_RESOURCES
$(CARGO_BIN): $(pkglib_LIBRARIES)
endif !EMBEDDED_RESOURCES

if LUAJIT
MLUAVER = luajit
Expand Down

0 comments on commit 5805cd4

Please sign in to comment.