mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
Misc. fixes to silence warnings when building a static Finit.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -14,7 +14,12 @@ endif
|
||||
|
||||
include ../common.mk
|
||||
|
||||
ifneq ($(STATIC), 1)
|
||||
all: $(PLUGINS)
|
||||
else
|
||||
all:
|
||||
@true
|
||||
endif
|
||||
|
||||
clean:
|
||||
-@$(RM) $(PLUGINS)
|
||||
|
||||
Reference in New Issue
Block a user