Commit 326419d
committed
ci: keep hidapi 0.14.0 visible in 1.11 leg's PKG_CONFIG_PATH
The matrix 1.11 leg set PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
to select the system TagLib 1.11. But pkg-config searches that path first,
and Focal's libhidapi-dev also installs an old hidapi-libusb.pc (0.9.0)
there, which shadowed the freshly built hidapi 0.14.0 in
/usr/local/lib/pkgconfig and broke configure at the hidapi >= 0.14.0 check.
Prepend /usr/local/lib/pkgconfig so the built hidapi 0.14.0 .pc wins, while
system TagLib 1.11 still resolves from the second entry (/usr/local has no
taglib.pc). Document the non-obvious precedence in the setup step comment.1 parent 9dfdded commit 326419d
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
| |||
0 commit comments