Commit 0d30114
committed
fix(compat.glfw): the source tree is named by upstream's tag, not by this package's version
`install()` fell back to `"glfw-" .. pkginfo.version()`. That was the same
string for as long as the package had one version; the day it took an ecosystem
segment -- 3.4.0.1, for a pin that moved while upstream did not release -- the
expression asked for `glfw-3.4.0.1/`, which no tarball contains. install() then
moved nothing, and the failure appeared two layers away as
`GLFW/glfw3.h: file not found` in a consumer's test.
A path derived from a version breaks the first time the version means something
the upstream tag does not. The fallback now names the tag, and a source tree
that is missing under both spellings is an error rather than an install that
"succeeds" and leaves a directory with no headers in it.
Found by CI, not locally: `mcpp build` does not compile a member's tests, so the
local check was weaker than the one that caught it.1 parent 0d35495 commit 0d30114
1 file changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
171 | 187 | | |
172 | 188 | | |
173 | 189 | | |
174 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
175 | 200 | | |
176 | 201 | | |
177 | 202 | | |
| |||
0 commit comments