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 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( executable(
'ModemManager', 'ModemManager',
sources: sources + daemon_enums_sources, sources: daemon_sources,
include_directories: top_inc, include_directories: top_inc,
dependencies: deps, dependencies: daemon_deps,
c_args: c_args, c_args: daemon_c_args,
install: true, install: true,
install_dir: mm_sbindir, install_dir: mm_sbindir,
) )
@@ -335,7 +343,4 @@ install_data(
if enable_tests if enable_tests
subdir('tests') subdir('tests')
endif endif
# Additional vendor plugins
subdir('plugins')