From 5805cd47abb89eef1b27b411341b4599b7622813 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Sat, 4 Jan 2025 12:14:32 +0300 Subject: [PATCH] fix(build): Correct dependencies in non-embedded mode --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3d7586ccb..0f3add964 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 { @@ -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