summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/meson.build4
-rw-r--r--libnm-glib/tests/meson.build9
2 files changed, 6 insertions, 7 deletions
diff --git a/libnm-glib/meson.build b/libnm-glib/meson.build
index 9583362b6..aa1b7aaab 100644
--- a/libnm-glib/meson.build
+++ b/libnm-glib/meson.build
@@ -197,9 +197,7 @@ libnm_glib = shared_library(
sources: sources + libnm_glib_enum + [nm_secret_agent_glue],
version: libnm_glib_version,
dependencies: deps,
- c_args: cflags + [
- '-DNMRUNDIR="@0@"'.format(nm_pkgrundir),
- ],
+ c_args: cflags,
link_whole: libdeprecated_nm_glib,
link_args: [
'-Wl,--version-script,@0@'.format(linker_script),
diff --git a/libnm-glib/tests/meson.build b/libnm-glib/tests/meson.build
index 029b3c20c..fbabb9a9c 100644
--- a/libnm-glib/tests/meson.build
+++ b/libnm-glib/tests/meson.build
@@ -16,10 +16,11 @@ foreach test_unit: test_units
test_unit,
[test_unit + '.c'] + shared_test_utils,
dependencies: deps,
- c_args: common_cflags + [
- '-DNETWORKMANAGER_COMPILATION_TEST',
- '-DTEST_NM_SERVICE="@0@"'.format(join_paths(meson.source_root(), 'tools', 'test-networkmanager-service.py')),
- ],
+ c_args:
+ common_cflags + [
+ '-DNETWORKMANAGER_COMPILATION_TEST',
+ ] +
+ nm_build_cflags,
)
test(