Shared object with Sqlite?

Benjiro via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 14 13:41:09 PST 2016


On Monday, 12 December 2016 at 15:39:47 UTC, Mike Parker wrote:
> On Monday, 12 December 2016 at 15:19:55 UTC, Benjiro wrot
>>
>> From my understanding, because the libdll has a shared tag, 
>> the libsqlite3.a needs to be linked as static and the rest 
>> needs to be dynamic. I found some examples using Gcc ( static 
>> & dynamic flags ) but those do not work for DMD.
>
> If you can't get DMD to pass the proper linker flags, you 
> should still be able to call the linker manually. Or even pass 
> the object files and libs along via gcc.

Thanks. Simply ended up linking to the shared library. Not what i 
had in mind but it works. It always takes time to figure things 
out ;)


More information about the Digitalmars-d mailing list