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




commit f566281711d329d2d30d9ba58958dd4d59eba366
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 0ce2c5b1d..8f7fe5804 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1380,6 +1380,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]