mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-29 08:07:24 +00:00
fix: solve plugin loading error
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com> Co-authored-by: Rohith Raju <rohithraju488@gmail.com>
This commit is contained in:
parent
54ab1eed9e
commit
590b034a55
@ -22,7 +22,7 @@ using namespace falco::app::actions;
|
||||
|
||||
falco::app::run_result falco::app::actions::load_plugins(falco::app::state& s)
|
||||
{
|
||||
#if !defined(MUSL_OPTIMIZED) and !defined(__EMSCRIPTEN__)
|
||||
#if defined(MUSL_OPTIMIZED) or defined(__EMSCRIPTEN__)
|
||||
if (!s.config->m_plugins.empty())
|
||||
{
|
||||
return run_result::fatal("Loading plugins dynamic libraries is not supported by this Falco build");
|
||||
|
Loading…
Reference in New Issue
Block a user