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




commit 05427854404445be1ad4423fedadecd59a478c1e
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 1bcfacca0..00e0e816f 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1397,6 +1397,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]