Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/header_rewrite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ target_link_libraries(header_rewrite_parser PUBLIC libswoc::libswoc)

target_link_libraries(
header_rewrite
PRIVATE ts::tscore PCRE::PCRE
PRIVATE PCRE::PCRE
PUBLIC libswoc::libswoc
)

Expand Down
5 changes: 2 additions & 3 deletions plugins/header_rewrite/header_rewrite.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@ namespace header_rewrite_ns
DbgCtl dbg_ctl{PLUGIN_NAME_DBG};
DbgCtl pi_dbg_ctl{PLUGIN_NAME};

PluginFactory plugin_factory;
std::once_flag initHRWLibs;
PluginFactory plugin_factory;
} // namespace header_rewrite_ns

static std::once_flag initHRWLibs;

static void
initHRWLibraries(const std::string &dbPath)
{
Expand Down