Skip to content

build: add the default search paths for Windows #351

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2018

Conversation

compnerd
Copy link
Member

When building for Windows on Linux, we need to explicitly setup the
linker search paths. These are derivable from the UCRT version and the
WinSDK base directories which are expected environment variables. This
is also how the swift build system finds the directories. Enable this
to avoid having the user explicitly setup the LIB environment variable
for the linker to find the system import libraries.

When building for Windows on Linux, we need to explicitly setup the
linker search paths.  These are derivable from the UCRT version and the
WinSDK base directories which are expected environment variables.  This
is also how the swift build system finds the directories.  Enable this
to avoid having the user explicitly setup the `LIB` environment variable
for the linker to find the system import libraries.
@compnerd
Copy link
Member Author

CC: @das @MadCoder

@compnerd
Copy link
Member Author

@swift-ci please test

@MadCoder MadCoder merged commit f83b5a4 into swiftlang:master Apr 1, 2018
@compnerd compnerd deleted the windows-linker-search-paths branch April 3, 2018 22:31
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
build: add the default search paths for Windows

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
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.

3 participants