[libsoup] Fix the build of tests on MinGW



commit c4a9252b612861bf70a1b8cd0b2a84eb9f5f386e
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Apr 23 09:07:54 2019 +0200

    Fix the build of tests on MinGW
    
    Currently the tests are failing to build with "undefined reference to
    `_imp__htonl@4'". The fix is to add the platform_deps to tests
    dependencies. Do that by adding it to the libsoup_dep thus all the
    targets are fixed.
    
    https://gitlab.gnome.org/GNOME/libsoup/merge_requests/60

 libsoup/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/meson.build b/libsoup/meson.build
index bfef032d..861cba2f 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -246,7 +246,7 @@ pkg.generate(libsoup,
 libsoup_dep = declare_dependency(link_with : libsoup,
   include_directories : configinc,
   sources : soup_enum_h,
-  dependencies : glib_dep)
+  dependencies : [ platform_deps, glib_dep ])
 
 if enable_gnome
   soup_gnome_api_name = 'soup-gnome-' + apiversion


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