c++ - How to link shared library via GNU Autotools -
i'm trying understand gnu autools.
my project compiles fine when add -lxyz
command line g++ ...
. xyz
doesn't support pkg-config. line need add makefile.am
? , makefile.am
add - there 1 each directory?
add ldadd. see "linking" node in manual.
you can either add each program's prog_ldadd, or put globally in ldadd. need in each makefile.am links program uses library.
Comments
Post a Comment