Commit b15545b
committed
external_deps: make pkg-config working when cross-compiling
Without setting PKG_CONFIG_PATH to the cross database, pkg-config will only
report libraries installed for the native target, not for the cross target.
SDL3 relies on pkg-config to enable Wayland support, so we need that to
enable Wayland support when cross-compiling SDL3 when the related libraries
are only installed for the cross target.1 parent 3bdd58a commit b15545b
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
1281 | 1283 | | |
1282 | 1284 | | |
1283 | 1285 | | |
1284 | | - | |
1285 | | - | |
| 1286 | + | |
1286 | 1287 | | |
1287 | 1288 | | |
1288 | 1289 | | |
| |||
1364 | 1365 | | |
1365 | 1366 | | |
1366 | 1367 | | |
| 1368 | + | |
1367 | 1369 | | |
1368 | 1370 | | |
1369 | 1371 | | |
| |||
0 commit comments