build: compile plugins before daemon
This commit is contained in:

committed by
Aleksander Morgado

parent
f562a51afb
commit
cc90f2ffe8
@@ -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,
|
||||||
)
|
)
|
||||||
@@ -336,6 +344,3 @@ install_data(
|
|||||||
if enable_tests
|
if enable_tests
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Additional vendor plugins
|
|
||||||
subdir('plugins')
|
|
Reference in New Issue
Block a user