Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix typo when fetching buildtype option for compiler checks #7639

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

nirbheek
Copy link
Member

@nirbheek nirbheek commented Aug 25, 2020

This typo happened in #7432 and wasn't noticed because I didn't add a test for it. Rectified now.

If we don't specify the CRT, MSVC will pick /MT by default (!?) and link to libcmt.lib. This actually breaks UWP because libcmt.lib is not available by default when building for UWP.

Was noticed here: cisco/libsrtp#505

@nirbheek nirbheek added OS:windows Winodows OS specific issues regression labels Aug 25, 2020
@nirbheek nirbheek added this to the 0.55.2 milestone Aug 25, 2020
@nirbheek nirbheek requested a review from jpakkane as a code owner August 25, 2020 09:51
This type happened in mesonbuild#7432
and wasn't noticed because I didn't add a test for it. Rectified now.

If we don't specify the CRT, MSVC will pick /MT by default (!?) and
link to `libcmt.lib`. This actually *breaks* UWP because `libcmt.lib`
is not available by default when building for UWP.

Was noticed here: cisco/libsrtp#505
@nirbheek nirbheek force-pushed the fix-vscrt-compiler-checks branch from e210975 to 1a481d6 Compare August 25, 2020 14:32
@seungha-yang
Copy link
Contributor

Still works fine with Windows arm64 native build (gst-build) 👍

@nirbheek nirbheek merged commit 6f74692 into mesonbuild:master Aug 27, 2020
@nirbheek nirbheek deleted the fix-vscrt-compiler-checks branch August 27, 2020 00:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
OS:windows Winodows OS specific issues regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants