summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2022-12-08 14:25:49 +0000
committerAleksander Morgado <aleksander@aleksander.es>2023-01-03 13:56:25 +0000
commitcc90f2ffe804634b25b46c362ad0a6eebf17637f (patch)
tree3f498d51062be1e774b0720891bc5379a4a52258
parentf562a51afb69743931e2784e0b2a7e1304deb1a1 (diff)
downloadModemManager-cc90f2ffe804634b25b46c362ad0a6eebf17637f.tar.gz
build: compile plugins before daemon
-rw-r--r--src/meson.build19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/meson.build b/src/meson.build
index db345e4c5..3a7228b8d 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -309,12 +309,20 @@ if enable_mbim
)
endif
+# Daemon related variables before processing plugins
+daemon_sources = sources + daemon_enums_sources
+daemon_deps = deps
+daemon_c_args = c_args
+
+# Additional vendor plugins
+subdir('plugins')
+
executable(
'ModemManager',
- sources: sources + daemon_enums_sources,
+ sources: daemon_sources,
include_directories: top_inc,
- dependencies: deps,
- c_args: c_args,
+ dependencies: daemon_deps,
+ c_args: daemon_c_args,
install: true,
install_dir: mm_sbindir,
)
@@ -335,7 +343,4 @@ install_data(
if enable_tests
subdir('tests')
-endif
-
-# Additional vendor plugins
-subdir('plugins') \ No newline at end of file
+endif \ No newline at end of file