mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
Misc. fixes to silence warnings when building a static Finit.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
bcc70ec774
commit
58980c72fa
2 files changed
+8
No files matched your search
@@ -321,7 +321,10 @@ int plugin_load_all(uev_ctx_t *ctx, char *path)
|
|||||||
|
|
||||||
/* Always initialize plugins */
|
/* Always initialize plugins */
|
||||||
init_plugins(ctx);
|
init_plugins(ctx);
|
||||||
|
|
||||||
|
#ifndef ENABLE_STATIC
|
||||||
exit:
|
exit:
|
||||||
|
#endif
|
||||||
if (verbose)
|
if (verbose)
|
||||||
print_result(fail);
|
print_result(fail);
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,12 @@ endif
|
|||||||
|
|
||||||
include ../common.mk
|
include ../common.mk
|
||||||
|
|
||||||
|
ifneq ($(STATIC), 1)
|
||||||
all: $(PLUGINS)
|
all: $(PLUGINS)
|
||||||
|
else
|
||||||
|
all:
|
||||||
|
@true
|
||||||
|
endif
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-@$(RM) $(PLUGINS)
|
-@$(RM) $(PLUGINS)
|
||||||
|
|||||||
Reference in new issue
Block a user