December 21, 2013 [phobos] [D-Programming-Language/phobos] d0e51e: fix Issue 10710 - phobos depends on versioned libc... | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: d0e51e109fe50270109423ef267765b79067b22c https://github.com/D-Programming-Language/phobos/commit/d0e51e109fe50270109423ef267765b79067b22c Author: Martin Nowak <code at dawg.eu> Date: 2013-12-20 (Fri, 20 Dec 2013) Changed paths: M etc/c/curl.d M posix.mak M std/net/curl.d Log Message: ----------- 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). Commit: 1fcfe2c35c062798d9e0c805d4cf611a6096b16a https://github.com/D-Programming-Language/phobos/commit/1fcfe2c35c062798d9e0c805d4cf611a6096b16a Author: Andrei Alexandrescu <andrei at erdani.com> Date: 2013-12-21 (Sat, 21 Dec 2013) Changed paths: M etc/c/curl.d M posix.mak M std/net/curl.d Log Message: ----------- Merge pull request #1772 from MartinNowak/fix10710 fix Issue 10710 - phobos depends on versioned libcurl Compare: https://github.com/D-Programming-Language/phobos/compare/f2e36c6d0b5f...1fcfe2c35c06 |
Copyright © 1999-2021 by the D Language Foundation