diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 04:13:10 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 04:13:10 +0900 |
| commit | 2e710328a4a64f5803de317c936912cf2ccddddf (patch) | |
| tree | 707d404175dc19927898aea047e8d421e0a4ecad /internal/rosa/package/musl/ldso-rosa.patch | |
| parent | 2e7b52d70184e301dbf7a43670c28facbb0206cd (diff) | |
internal/rosa/package: migrate musl
This removes some legacy cruft, causing 2 rebuilds per stage.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/musl/ldso-rosa.patch')
| -rw-r--r-- | internal/rosa/package/musl/ldso-rosa.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/rosa/package/musl/ldso-rosa.patch b/internal/rosa/package/musl/ldso-rosa.patch new file mode 100644 index 00000000..4ca3f01b --- /dev/null +++ b/internal/rosa/package/musl/ldso-rosa.patch @@ -0,0 +1,13 @@ +diff --git a/ldso/dynlink.c b/ldso/dynlink.c +index 715948f4..c2fece68 100644 +--- a/ldso/dynlink.c ++++ b/ldso/dynlink.c +@@ -1157,7 +1157,7 @@ static struct dso *load_library(const char *name, struct dso *needed_by) + sys_path = ""; + } + } +- if (!sys_path) sys_path = "/lib:/usr/local/lib:/usr/lib"; ++ if (!sys_path) sys_path = "/system/lib:/system/lib/" LDSO_ARCH "-rosa-linux-musl:/lib:/usr/local/lib:/usr/lib"; + fd = path_open(name, sys_path, buf, sizeof buf); + } + pathname = buf; |
