开发者

including static library to ./configure

how do i include two static library while executing the command ./configure. Ex:

./configure --prefix=/usr \
    LDFLAGS="-L/home/lancy/dictionary/src/WordNet-3.0/lib -lWN"

here only one 开发者_如何学Cstatic library is include. how do i add such another static library to LDFLAGS in the same command.


You can just add more linker switches, e.g.

LDFLAGS="-L/path/1/ -lLib1 -L/path/2/ -lLib2"

But you might do better editing these into the Makefile.in unless you need them for the configure checks too?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜