diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-01 14:25:30 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-01 15:03:26 +0900 |
| commit | 3975dd3e0f6d446241841cdf5c011d4f5f77b5eb (patch) | |
| tree | 80818b60350262b18966138057cb47127ba8694d /internal/rosa/package/ninja.az | |
| parent | 3ab7116b29750824c7d77b7dd43f20db88aac7db (diff) | |
internal/rosa: create /bin symlinks via helper
This centralises the workaround for surprisingly common buggy scripts with nonstandard hardcoded paths.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/ninja.az')
| -rw-r--r-- | internal/rosa/package/ninja.az | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/internal/rosa/package/ninja.az b/internal/rosa/package/ninja.az index d6a45493..2eb7694b 100644 --- a/internal/rosa/package/ninja.az +++ b/internal/rosa/package/ninja.az @@ -15,6 +15,7 @@ package ninja { "CFLAGS=-std=c++17", ]; + bin = [ "echo" ]; exec = generic { build = ` python3 /usr/src/ninja/configure.py \ @@ -22,12 +23,10 @@ python3 /usr/src/ninja/configure.py \ --bootstrap python3 /usr/src/ninja/configure.py \ --gtest-source-dir=/usr/src/extra/googletest -./ninja ` + jobsFlagE + ` all`; +./ninja ` + jobsFlagE + ` all +`; - check = ` -chmod +w /bin/ -ln -s ../system/bin/echo /bin/ -./ninja_test`; + check = "./ninja_test"; install = ` mkdir -p /work/system/bin/ |
