How can I build dynamic library with ldc in termux?
Domain
dont_email at empty.com
Sun Mar 3 14:26:31 UTC 2019
On Sunday, 3 March 2019 at 12:25:28 UTC, kinke wrote:
> On Sunday, 3 March 2019 at 01:47:50 UTC, Domain wrote:
>> /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld:
>> cannot find -lphobos2-ldc-shared
>> /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld:
>> cannot find -ldruntime-ldc-shared
>
> Looks like that package isn't set-up 100% correctly - there
> should be a `-link-defaultlib-shared=false` as default switch
> in the etc/ldc2.conf config file if the package doesn't contain
> shared druntime/Phobos.
It seems already there:
// default switches injected before all explicit comma>
switches = [
"-defaultlib=phobos2-ldc,druntime-ldc",
"-link-defaultlib-shared=false",
];
More information about the Digitalmars-d-learn
mailing list