diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-23 02:41:35 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-24 11:22:25 +0900 |
| commit | f6eaf76ec9d342ee1cef1590623dec390318801f (patch) | |
| tree | 8695e393d1ca795f6fc574a8de8d7a6794a789ba /internal/rosa/python.go | |
| parent | 5c127a70350c19c99bca388c94a4518d885c3ac3 (diff) | |
internal/rosa: patch library paths
This removes the need for reference LDFLAGS in the standard toolchain.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/python.go')
| -rw-r--r-- | internal/rosa/python.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 7c059272..7bb713dc 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -39,6 +39,10 @@ func (t Toolchain) NewPython() pkg.Artifact { t.NewLibffi(), }, nil, []string{ "EXTRATESTOPTS=-j0 -x " + strings.Join(skipTests, " -x "), + + // _ctypes appears to infer something from the linker name + "LDFLAGS=-Wl,--dynamic-linker=/system/lib/" + + "ld-musl-" + linuxArch() + ".so.1", }, ` # test_synopsis_sourceless assumes this is writable and checks __pycache__ chmod -R +w /usr/src/python/ |
