Linker error (DSO missing)
Chris via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon Oct 19 11:25:17 PDT 2015
On Monday, 19 October 2015 at 18:14:42 UTC, David Nadlinger wrote:
> On 19 Oct 2015, at 17:25, Chris via digitalmars-d-ldc wrote:
>> This did the trick. How are the libs ordered? I can see that
>> the order of the libs in my dub.json file ("libs":["bla"]) is
>> not the same as in the command that is generated. Does dub
>> handle this or is it the compiler (checking for dependencies)?
>
> LDC just passes the argument list through to the linker, as do
> the other compilers. Any intelligent ordering has to happen
> before that.
>
> — David
Hm. Then I don't understand why the order is different from the
one I give it. Maybe I'll have to use "lflags" instead of "libs"
in my dub.json file. If it were an assoc array, it could happen
that the order might change in memory, but it's a linear array,
isn't it?
"libs":["sndfile", "ogg", "etc..."],
More information about the digitalmars-d-ldc
mailing list