Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在执行命令时包含两个静态库./configure。前任:
./configure
./configure --prefix=/usr \ LDFLAGS="-L/home/lancy/dictionary/src/WordNet-3.0/lib -lWN"
这里只包含一个静态库。如何LDFLAGS在同一命令中添加这样的另一个静态库。
LDFLAGS
您可以添加更多链接器开关,例如
LDFLAGS="-L/path/1/ -lLib1 -L/path/2/ -lLib2"
但是除非您也需要它们进行配置检查,否则您可能会更好地将它们编辑到 Makefile.in 中?