build: filter_wasm: Build filter_wasm only when FLB_WASM is enabled
@@ -310,7 +310,9 @@ REGISTER_FILTER_PLUGIN("filter_stdout")
REGISTER_FILTER_PLUGIN("filter_geoip2")
REGISTER_FILTER_PLUGIN("filter_nightfall")
+if (FLB_WASM)
REGISTER_FILTER_PLUGIN("filter_wasm")
+endif ()
# Register external input and output plugins
if(EXT_IN_PLUGINS)
