[vala/meson-msvc: 7/15] Broken evaluation of "Requires.private: gmodule-no-export-2.0" in gio-2.0.pc ?




commit 37cc5cc6348b61e8cd40ba0e9cd4efb6d8a9cde6
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Aug 26 11:31:18 2021 +0200

    Broken evaluation of "Requires.private: gmodule-no-export-2.0" in gio-2.0.pc ?
    
    /usr/bin/ld: .../lib/libgio-2.0.so: undefined reference to `g_module_open_full'

 tests/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/meson.build b/tests/meson.build
index 96238f4f2..1c27c02f9 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1371,6 +1371,7 @@ vala_flags = [
        '-X', '-O0',
        '-X', '-pipe',
        '-X', '-lm',
+       '-X', '-lgmodule-2.0', # undefined reference to `g_module_open_full'
        '-X', '-DGETTEXT_PACKAGE="valac"',
 ]
 


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