golang: install into lib instead of share
authorGeorge Sapkin <redacted>
Sat, 31 Jan 2026 00:44:52 +0000 (02:44 +0200)
committerGeorge Sapkin <redacted>
Mon, 2 Feb 2026 08:10:03 +0000 (10:10 +0200)
commit6f4155c0a06facf4f0a1ab2050da986bb908167d
tree89b2931094e07d6f07f7cfc91d58ffe94244c3ce
parenta6e94447f744dcc568f5684f0f29043856884cc7
golang: install into lib instead of share

Installing into share and symlinking to lib breaks tests:

--- FAIL: TestAllDependencies (0.01s)

    moddeps_test.go:49: findGorootModules didn't find the well-known module "std"

--- FAIL: TestDependencyVersionsConsistent (0.00s)

    moddeps_test.go:356: findGorootModules didn't find the well-known module "std"

Install into lib directly instead.

Fixes: c137c382 ("golang: new packages")
Link: https://github.com/openwrt/packages/pull/28445
Signed-off-by: George Sapkin <redacted>
lang/golang/golang-compiler.mk
git clone https://git.99rst.org/PROJECT