mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
Disable bootmisc plugin entirely if configure --enable-static
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+4
-3
@@ -29,9 +29,8 @@
|
||||
#include "../plugin.h"
|
||||
#include "libite/lite.h"
|
||||
|
||||
#ifdef ENABLE_STATIC
|
||||
#error This plugin uses getuser(), which relies on dynamically linked GLIBC. Cannot be built statically!
|
||||
#endif
|
||||
/* This plugin uses getuser(), which relies on dynamically linked GLIBC. Cannot be built statically! */
|
||||
#ifndef ENABLE_STATIC
|
||||
|
||||
/*
|
||||
* Setup standard FHS 2.3 structure in /var, and
|
||||
@@ -105,6 +104,8 @@ PLUGIN_EXIT(plugin_exit)
|
||||
plugin_unregister(&plugin);
|
||||
}
|
||||
|
||||
#endif/* ENABLE_STATIC */
|
||||
|
||||
/**
|
||||
* Local Variables:
|
||||
* version-control: t
|
||||
|
||||
Reference in New Issue
Block a user