diff --git a/plugin.c b/plugin.c index bcc58e60..30dc544e 100644 --- a/plugin.c +++ b/plugin.c @@ -321,7 +321,10 @@ int plugin_load_all(uev_ctx_t *ctx, char *path) /* Always initialize plugins */ init_plugins(ctx); + +#ifndef ENABLE_STATIC exit: +#endif if (verbose) print_result(fail); diff --git a/plugins/Makefile b/plugins/Makefile index 27383ab1..bc3a497f 100644 --- a/plugins/Makefile +++ b/plugins/Makefile @@ -14,7 +14,12 @@ endif include ../common.mk +ifneq ($(STATIC), 1) all: $(PLUGINS) +else +all: + @true +endif clean: -@$(RM) $(PLUGINS)