Skip to content
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

Use DYLD_LIBRARY_PATH instead of rpath for Swift client #54

Merged
merged 1 commit into from
Jun 22, 2020

Conversation

bhamiltoncx
Copy link
Member

@bhamiltoncx bhamiltoncx commented Jun 19, 2020

I realized the Swift client doesn't need to hack rpath to find the C++ client library; we can just set DYLD_LIBRARY_PATH in the environment to find it instead.

Also, I fixed a small bug (quote $(CURDIR) to fix the build if the current directory has a space).

When running the Swift tests, I realized it's better to set
`DYLD_LIBRARY_PATH` in the environment to find
`libmyanmartools.dylib`, rather than hard-coding rpath to the absolute
path of the build directory.

Also, I forgot to quote $(CURDIR) so it would fail if the current
directory had a space in it.
@sffc sffc merged commit df86620 into google:master Jun 22, 2020
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.

None yet

2 participants