build: compile plugins before daemon

This commit is contained in:
Aleksander Morgado
2022-12-08 14:25:49 +00:00
committed by Aleksander Morgado
parent f562a51afb
commit cc90f2ffe8

View File

@@ -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,
)
@@ -336,6 +344,3 @@ install_data(
if enable_tests
subdir('tests')
endif
# Additional vendor plugins
subdir('plugins')