[seahorse/ricotz/vala: 4/4] Unbreak build using vala 0.48.x




commit 3a2c91a3b5d3467cf7ecab7590b40fbe3df3c588
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Feb 28 19:03:10 2021 +0100

    Unbreak build using vala 0.48.x
    
    bc26f2bf5cb3035f0f94c412f3e675d2071b1ed4 causes a redefinition error due
    to including "seahorse-common.h".
    
    Using --use-header for "common" lib avoids this problem.

 common/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/common/meson.build b/common/meson.build
index 755fe17b..f19898fb 100644
--- a/common/meson.build
+++ b/common/meson.build
@@ -39,6 +39,7 @@ common_deps = [
 
 common_vala_args = [
   '--gresources', resources_xml,
+  '--use-header',
 ]
 
 if get_option('keyservers-support')


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