Adding libraries to an executable
Jonathan M Davis
jmdavisProg at gmx.com
Fri Sep 13 17:45:19 PDT 2013
On Friday, September 13, 2013 21:54:39 Anton Alexeev wrote:
> So, nobody can give an easy answer how to statically link the
> libraries with the executable and I have yo use Bin2D?
If you give the exact file name for the static library (e.g.
/path/to/libcurl.a), then it should link against the static version of the
library. Also, -L-static might help, as it tells the linker to only link
static libraries.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list