mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
Previous checks did nothing, because cc.has_argument only does compilation, without any linking. Unfortunately cc.links() cannot be used, because it does not accept any options. Providing the test file as a static source is easiest, even if not every elegant. https://github.com/mesonbuild/meson/issues/1676
2 lines
27 B
C
2 lines
27 B
C
int main(void) {return 0;}
|