Skip to content

[android] Do not link library absolute path. #20143

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

Conversation

drodriguez
Copy link
Contributor

@drodriguez drodriguez commented Oct 30, 2018

Avoid using the full path of the shared library to avoid including
the absolute path of the library in the executable, which will not
work once the library is moved to the host machine (like an
Android device).

To avoid doing a confussing -lrary, I changed the name of the
library to libAttrImplFP.so instead.

Depends on #19949 for correctly working on Android.

Avoid using the full path of the shared library to avoid including
the absolute path of the library in the executable, which will not
work once the library is moved to the host machine (like an
Android device).

To avoid doing a confussing `-lrary`, I changed the name of the
library to `libAttrImplFP.so` instead.
@jrose-apple
Copy link
Contributor

Seems reasonable.

@swift-ci Please test

@jrose-apple jrose-apple self-assigned this Oct 30, 2018
@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 8983a7e

@jrose-apple
Copy link
Contributor

@swift-ci Please test macOS

@jrose-apple jrose-apple merged commit 58928bc into swiftlang:master Oct 30, 2018
@drodriguez drodriguez deleted the android-fix-library-absolute-path-linking branch October 30, 2018 19:09
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