build stellar and stellar-devel rpm

This commit is contained in:
luwenpeng
2024-05-29 16:14:38 +08:00
parent f82b85c979
commit ba1e651876
14 changed files with 35 additions and 40 deletions

View File

@@ -256,6 +256,10 @@ struct plugin_manager_schema *plugin_manager_init(struct stellar *st, const char
void plugin_manager_exit(struct plugin_manager_schema *plug_mgr)
{
if (plug_mgr == NULL)
{
return;
}
struct plugin_specific *p=NULL;
if (plug_mgr->plugin_load_specs_array)
{

View File

@@ -13,5 +13,5 @@ target_link_libraries(stellar stellar_core)
target_link_libraries(stellar "-rdynamic")
set_target_properties(stellar PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map")
install(TARGETS stellar RUNTIME DESTINATION bin COMPONENT Program)
install(TARGETS stellar RUNTIME DESTINATION bin COMPONENT PROGRAM)
install(TARGETS stellar_devel LIBRARY DESTINATION lib COMPONENT LIBRARIES)

View File

@@ -44,7 +44,7 @@ static uint64_t need_exit = 0;
static thread_local uint16_t __thread_id = 0;
static const char *log_config_file = "./conf/log.toml";
static const char *main_config_file = "./conf/stellar.toml";
static const char *plugin_config_file = "./stellar_plugin/spec.toml";
static const char *plugin_config_file = "./plugin/spec.toml";
/******************************************************************************
* Stellar Thread Main Loop