Commit 20d518c
Fix armv6 cross link: defer libdbus's libsystemd dep to runtime
rpath-link didn't help because libsystemd.so.0 isn't present in the
crosstool-NG cross sysroot at all (not just unsearched). gratttool never
references libsystemd directly — only libdbus does, internally — and the Pi
provides libsystemd at runtime. Use -Wl,--allow-shlib-undefined so ld does
not error on undefined symbols originating inside a shared library, instead
of installing libsystemd and its entire transitive tree into the container.
armv7/aarch64 unaffected; gratttool's own symbols are still fully checked.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 56621bc commit 20d518c
1 file changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
79 | | - | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
0 commit comments