Skip to content

build: avoid rpath, library search path handling #271

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
Jul 3, 2017

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jul 2, 2017

Create an imported library target for the runtime libraries rather than
add the explicit library search path handling. This avoids the need for
the rpath in the tests, and allows cmake to properly model dependencies.
It also makes the build system more amenable to
cross-compiling/cross-linking by avoiding ELF linker specific options.

@compnerd
Copy link
Member Author

compnerd commented Jul 2, 2017

CC: @das @dgrove-oss

Create an imported library target for the runtime libraries rather than
add the explicit library search path handling.  This avoids the need for
the rpath in the tests, and allows cmake to properly model dependencies.
It also makes the build system more amenable to
cross-compiling/cross-linking by avoiding ELF linker specific options.
@compnerd compnerd force-pushed the test-cross-building branch from e6b7184 to aae4197 Compare July 2, 2017 18:12
@das
Copy link
Contributor

das commented Jul 3, 2017

very nice, thanks!

@das das merged commit 602604c into swiftlang:master Jul 3, 2017
@compnerd compnerd deleted the test-cross-building branch February 15, 2020 19:39
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