[Issue 10710] shared phobos library doesn't work on all linux distributions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 21 13:52:22 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=10710



--- Comment #49 from github-bugzilla at puremagic.com 2013-12-21 13:52:12 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/d0e51e109fe50270109423ef267765b79067b22c
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).

https://github.com/D-Programming-Language/phobos/commit/1fcfe2c35c062798d9e0c805d4cf611a6096b16a
Merge pull request #1772 from MartinNowak/fix10710

fix Issue 10710 - phobos depends on versioned libcurl

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list