From 35f37e8c234c7577d9f8c3057abc5278be0f7f9f Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Sat, 30 Nov 2019 20:35:10 +0200 Subject: [PATCH] autotools: link against libm with manually detected libxml2 Fixes build on QNX. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 86d97d7..b28c090 100644 --- a/configure.ac +++ b/configure.ac @@ -71,7 +71,7 @@ if test "x$with_libxml2" != xno -a "x$with_parser" = x; then [ with_parser="libxml2" libxml2_CFLAGS="-I${includedir}/libxml2" - libxml2_LIBS="-lxml2" + libxml2_LIBS="-lxml2 -lm" PC_LIBS="${libxml2_LIBS} ${PC_LIBS}" PC_CFLAGS="${libxml2_CFLAGS} ${PC_CFLAGS}" ])