Adding libraries to an executable

Rikki Cattermole alphaglosined at gmail.com
Sat Sep 7 02:05:37 PDT 2013


On Friday, 6 September 2013 at 21:31:59 UTC, Anton Alexeev wrote:
> I've written a program which uses curl library. So on a PC 
> without curl the program will not work until you install the 
> library. Is there a way to put the curl library in the 
> executable?

You just gave me an idea to compile in shared libraries and then 
to extract them on run.
I'll let you know when I got some code.
(Btw this is not a good idea but definitely will work for license 
reasons, although this could be a rather gray zone. Should be 
confirmed.).


More information about the Digitalmars-d-learn mailing list