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