Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Issue 10710 - phobos depends on versioned libcurl
- create a libcurl_stub.so for linking - set it's soname to libcurl.so.4 so that phobos gets a DT_NEEDED libcurl.so.4 entry - the runtime linker will load libcurl.so and resolve all undefined references - disable pragma(lib, "curl") because it doesn't work for archives anyways and additionally links against the real libcurl (dmd appends -L-lcurl when building phobos).
- Loading branch information
1 parent
5dc4dfa
commit d0e51e1
Showing
3 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters