Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
meson: fix pointless setup in incremental builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Sep 17, 2024
1 parent 16c687c commit 62783f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/libtrx/cli/game_docker_entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ class CompileCommand(BaseCommand):
def run(self, args: argparse.Namespace, options: Options) -> None:
pkg_config_path = os.environ.get("PKG_CONFIG_PATH")

if not Path("/app/build/linux/build.jinja").exists():
if not (options.build_root / "build.ninja").exists():
command = [
"meson",
"setup",
"--buildtype",
options.target,
*options.compile_args,
Expand Down

0 comments on commit 62783f5

Please sign in to comment.