From: Noam P. <npo...@us...> - 2015-09-13 22:13:31
|
On Sat, May 16, 2015 at 11:49 AM, Thomas Petazzoni <tho...@fr...> wrote: > When libgcrypt is used, it is linked with libgpg-error, so we should > also test that libgpg-error is available, and include -lgpg-error in > the LIBS variable. Thanks, applied. https://sourceforge.net/p/xmlstar/code/ci/0380e4d1e2d02aec868b7199e71bbe56e8161223/ > > Note that using PKG_CHECK_MODULES() would be a much much better > replacement than this complicated handling of static libraries, but > it's a much more significant effort. I don't think PKG_CHECK_MODULES() handles static libraries. Unless you did ./configure --enable-static-libs you will be using shared libraries anyway which don't need any of these checks. |