commit 6f8370f3a7ad8b292a15c1f66d481ad5bf826eeb
parent b1589bbc39ddb858ac61514e1c48d42426413cde
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 12 Sep 2024 10:38:26 +0200
random123: fix parallel build
Ensure that the random123 repository is cloned before generating the
associated pkg-config template. Without this prerequisite, the build
could fail, as the directory in which the template was written did not
necessarily exist.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/random123.mk.in b/src/random123.mk.in
@@ -35,7 +35,7 @@ random123: $(RANDOM123_DIR) $(RANDOM123_DIR)/random123.pc.in prefix
$(RANDOM123_DIR):
@git clone --branch "$(RANDOM123_TAG)" --depth 1 "$(RANDOM123_URL)" $@
-$(RANDOM123_DIR)/random123.pc.in:
+$(RANDOM123_DIR)/random123.pc.in: $(RANDOM123_DIR)
@{ \
printf 'prefix=@PREFIX@\n' ; \
printf 'includedir=$${prefix}/include\n'; \