[libsoup] Meson: Fix libxml2 fallback, find_library() adds 'lib' prefix



commit 7aff0e5f25ce122cc44f8e2fc3cdd7a08eb0e64c
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Thu Dec 6 11:40:50 2018 -0500

    Meson: Fix libxml2 fallback, find_library() adds 'lib' prefix

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index d85f947b..4135a518 100644
--- a/meson.build
+++ b/meson.build
@@ -78,7 +78,7 @@ if not libxml_dep.found()
   # Note: The XML include dir needs to be within the INCLUDE envvar,
   # such as <INCLUDEDIR>\libxml2
   cc.has_header('libxml/tree.h')
-  libxml2_dep = cc.find_library('libxml2')
+  libxml2_dep = cc.find_library('xml2')
 endif
 
 cdata = configuration_data()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]