summary refs log tree commit diff
path: root/shared/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'shared/meson.build')
-rw-r--r--shared/meson.build16
1 files changed, 9 insertions, 7 deletions
diff --git a/shared/meson.build b/shared/meson.build
index 48880ec4..0f46a00c 100644
--- a/shared/meson.build
+++ b/shared/meson.build
@@ -113,15 +113,17 @@ nm_test_utils_impl_source = files('nm-test-utils-impl.c')
 
 nm_vpn_plugin_utils_source = files('nm-utils/nm-vpn-plugin-utils.c')
 
-c_flags = [
-  '-DG_LOG_DOMAIN="@0@"'.format(libnm_name),
-  '-DNETWORKMANAGER_COMPILATION=0',
-]
-
 libnm_std_aux = static_library(
   'nm-std-aux',
-  sources: 'nm-std-aux/c-list-util.c',
-  c_args: c_flags,
+  sources: [
+    'nm-std-aux/c-list-util.c',
+    'nm-std-aux/nm-std-utils.c',
+  ],
+  include_directories: top_inc,
+  c_args: [
+    '-DG_LOG_DOMAIN="@0@"'.format(libnm_name),
+    '-DNETWORKMANAGER_COMPILATION=0',
+  ],
 )
 
 sources = files(