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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -