--- a/meson.build
+++ b/meson.build
@@ -6,7 +6,7 @@ project('irqbalance', 'c',
 
 cc = meson.get_compiler('c')
 
-glib_dep = dependency('glib-2.0')
+glib_dep = dependency('glib-2.0', static: true)
 m_dep = cc.find_library('m', required: false)
 capng_dep = dependency('libcap-ng', required: get_option('capng'))
 ncurses_dep = dependency('curses', required: get_option('ui'))
