Skip to content

Commit 5805cd4

Browse files
committed
fix(build): Correct dependencies in non-embedded mode
1 parent 15a20e0 commit 5805cd4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile.am

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ $(CARGO_BIN): justenough/.libs/justenoughicu.a
134134
$(CARGO_BIN): justenough/.libs/justenoughlibtexpdf.a
135135
$(CARGO_BIN): justenough/.libs/svg.a
136136
$(CARGO_BIN): libtexpdf/.libs/libtexpdf.a
137-
if !EMBEDDED_RESOURCES
138-
$(CARGO_BIN): $(pkglib_LIBRARIES)
139-
endif !EMBEDDED_RESOURCES
140137

141138
src/embed-includes.rs: Makefile-distfiles
142139
{
@@ -154,7 +151,10 @@ src/embed.rs: src/embed.rs.in src/embed-includes.rs
154151
-e '/@EMBEDDED_INCLUDE_LIST@/r $(word 2,$^)' \
155152
-e '/@EMBEDDED_INCLUDE_LIST@/d' \
156153
$< > $@
157-
endif EMBEDDED_RESOURCES
154+
155+
else !EMBEDDED_RESOURCES
156+
$(CARGO_BIN): $(pkglib_LIBRARIES)
157+
endif !EMBEDDED_RESOURCES
158158

159159
if LUAJIT
160160
MLUAVER = luajit

0 commit comments

Comments
 (0)