The change of 7899850 (Do use host-specific pkg-config when cross-compiling, 2022-12-15) should have been done in addition to the previous logic instead of replacing it, as it has resulted in not using pkg-config any more when targeting Linux systems, which wasn't the intention.
So re-apply the changes of d6ddfe8 (Disable build system pkg-config when cross-compiling to non-Linux, 2022-11-30) to handle cross-compiling to Linux specially.
This makes the logic even uglier than before, but it still seems like the most pragmatic solution and the original intention was always to do this and not the wrongly simplified version that was actually applied.
I've somehow managed to do something rather different from what I wanted to do in the last change here, as I've realized while looking at #23171, so here is the hopefully final version.
https://github.com/wxWidgets/wxWidgets/pull/23176
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Merged #23176 into master.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.