Skip to content

Add new flag ENABLE_STATIC_CRT for Windows#1393

Merged
tatsuhiro-t merged 1 commit intonghttp2:masterfrom
wrowe:fix-static-msvcrt
Sep 21, 2019
Merged

Add new flag ENABLE_STATIC_CRT for Windows#1393
tatsuhiro-t merged 1 commit intonghttp2:masterfrom
wrowe:fix-static-msvcrt

Conversation

@wrowe
Copy link
Copy Markdown
Contributor

@wrowe wrowe commented Sep 16, 2019

This change adds the CMake option;

ENABLE_STATIC_CRT Build libnghttp2 against the MS LIBCMT[d]

This avoids linking to msvcrt.lib for binaries to compile (/MT[d])
and link against the static C Runtime libcrt.lib, and
avoiding the msvcrt[d].dll dependency.

Signed-off-by: William A Rowe Jr [email protected]
Signed-off-by: Yechiel Kalmenson [email protected]

This change adds the CMake option;

  ENABLE_STATIC_CRT  Build libnghttp2 against the MS LIBCMT[d]

This avoids linking to msvcrt.lib for binaries to compile (/MT[d])
and link against the static C Runtime libcrt.lib, and
avoiding the msvcrt[d].dll dependency.

Signed-off-by: William A Rowe Jr <[email protected]>
Signed-off-by: Yechiel Kalmenson <[email protected]>
@tatsuhiro-t
Copy link
Copy Markdown
Member

Thank you for PR. Merged now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants