mesonbuild / meson

The Meson Build System
http://mesonbuild.com
Apache License 2.0
5.61k stars 1.63k forks source link

Glitches with --prefer-static -Dc_link_args="-static" -Dcpp_link_args="-static" when static library doesn't exist #10691

Open pal1000 opened 2 years ago

pal1000 commented 2 years ago

Case 1: library is required

To Reproduce

Native

Windows 11

3.10.6

0.63.1

1.11.0

Another instance of this issue was analyzed here.

pal1000 commented 2 years ago

Case 2: library is optional

To Reproduce

Native

Windows 11

3.10.6

0.63.1

1.11.0

This issue was first mentioned here.