[console/zbrown/ref-fun: 6/6] build: don't use a shared library




commit 8e1c2ca496518f34e1fa010f4bbf83ad4b7d1484
Author: Zander Brown <zbrown gnome org>
Date:   Sat Feb 12 10:13:13 2022 +0000

    build: don't use a shared library
    
    This made sense once, but not anymore
    
    Fix: https://gitlab.gnome.org/GNOME/console/-/issues/109

 src/kgx-application.c | 3 +++
 src/meson.build       | 5 +----
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/kgx-application.c b/src/kgx-application.c
index 7233efb..ee5fb77 100644
--- a/src/kgx-application.c
+++ b/src/kgx-application.c
@@ -39,6 +39,7 @@
 #include "kgx-window.h"
 #include "kgx-pages.h"
 #include "kgx-simple-tab.h"
+#include "kgx-resources.h"
 
 #define LOGO_COL_SIZE 28
 #define LOGO_ROW_SIZE 14
@@ -351,6 +352,8 @@ kgx_application_startup (GApplication *app)
 
   g_set_prgname (g_application_get_application_id (app));
 
+  g_resources_register (kgx_get_resource ());
+
   g_type_ensure (KGX_TYPE_TERMINAL);
   g_type_ensure (KGX_TYPE_PAGES);
 
diff --git a/src/meson.build b/src/meson.build
index ee35b50..4b0da4e 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -63,12 +63,9 @@ kgx_enums = gnome.mkenums_simple('kgx-enums',
                                       'kgx-tab.h'
                                     ])
 
-kgx_lib = library (bin_name,
+kgx_lib = static_library (bin_name,
                    kgx_sources + kgx_enums,
      dependencies: kgx_deps,
-          install: true,
-      install_dir: pkglibdir,
-    install_rpath: pkglibdir + ':' + libdir,
 )
 kgx_inc = include_directories('.')
 


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