[vala/wip/meson: 23/24] Broken evaluation of "Requires.private: gmodule-no-export-2.0" in gio-2.0.pc ?




commit 968c578f9c8b17719556b47ab8266cf68409b588
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 41b79cde9..c0e4aeba2 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1264,6 +1264,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]