Skip to content

Conversation

@Keno
Copy link
Member

@Keno Keno commented Oct 2, 2018

Found while trying to bootstrap Julia (x86_64 linux only) under BinaryBuilder, which doesn't have any global copies of our dependencies (as most linux distros do).

Keno added 2 commits October 2, 2018 15:00
We use this setting for linking curl, which itself needs to find libssh2
and mbedtls. However, while curl will indeed eventually be in the same
directory as these two libraries, it is not during linking, causing link
failures (unless we happen to have global copies of the same libraries
that the linker can pick up). Add an rpath-link command with the absolute
path to our library directory to make sure the dependent libraries get
picked up at link time.
These fail to build if mbedtls is not available in the global
linker search path. Add a simple flag to disable them, since
we don't use them.
@Keno Keno requested a review from staticfloat October 2, 2018 19:05
@staticfloat staticfloat merged commit 4412dd4 into master Oct 3, 2018
@StefanKarpinski StefanKarpinski deleted the kf/buildfixes branch October 3, 2018 13:02
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.

4 participants