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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 24 00:14:14 PDT 2013


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



--- Comment #32 from Martin Nowak <code at dawg.eu> 2013-10-24 00:14:09 PDT ---
(In reply to comment #13)
> - Compile/link into Ubuntu with a libcurl without versioned symbols, this
> requires an specific package not available on default repositories.

I have an idea for an intermediate solution to this.
We add a libcurl_stub.c to phobos that contains all functions used by phobos.

void curl_global_init() {}
void curl_easy_setop() {}
...

We build a libcurl.so from the stubs and use it when linking phobos.

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


More information about the Digitalmars-d-bugs mailing list