Disable bootmisc plugin entirely if configure --enable-static

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2015-10-22 19:01:19 +02:00
parent 8725200260
commit b2c5e97417
+4 -3
View File
@@ -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