mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Added support for external shared libraries
The FC_ADDON drivers are shared libraries that have PX4 wrappers. The wrappers are built as modules which are static libraries and cannot have shared library dependencies. The shared libraries are required to resolve the symbols at runtime and need to be linked with the libmainapp shared library. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Lorenz Meier
parent
b412980f90
commit
7a44ee7429
@@ -348,6 +348,9 @@ foreach(module ${config_module_list})
|
||||
#message(STATUS "adding module: ${module}")
|
||||
endforeach()
|
||||
|
||||
# Keep track of external shared libs required for modules
|
||||
set(module_shared_libraries "${module_shared_libraries}" CACHE INTERNAL "module_shared_libraries")
|
||||
|
||||
add_subdirectory(src/firmware/${OS})
|
||||
|
||||
#add_dependencies(df_driver_framework nuttx_export_${CONFIG}.stamp)
|
||||
|
||||
Reference in New Issue
Block a user