From 0bbce71735e13a2f59dd6013a4ecbf493cf6ad5f Mon Sep 17 00:00:00 2001 From: ruiqurm Date: Mon, 28 Oct 2024 12:03:14 +0800 Subject: [PATCH] fix a duplicating symbol problem. --- bmf/sdk/cpp_sdk/src/module_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bmf/sdk/cpp_sdk/src/module_manager.cpp b/bmf/sdk/cpp_sdk/src/module_manager.cpp index 7463bd37..e777fcaa 100644 --- a/bmf/sdk/cpp_sdk/src/module_manager.cpp +++ b/bmf/sdk/cpp_sdk/src/module_manager.cpp @@ -572,6 +572,7 @@ void ModuleManager::init() { roots.push_back(lib_path.parent_path().string()); roots.push_back(fs::current_path().string()); #endif + roots.push_back("/"); auto fn = std::string("BUILTIN_CONFIG.json"); for (auto &p : roots) {