mirror of https://github.com/Icinga/icinga2.git
Fixed dependency problem.
This commit is contained in:
parent
7e1add815b
commit
f890f1d42c
|
@ -44,6 +44,7 @@ libbase_la_SOURCES = \
|
|||
win32.h
|
||||
|
||||
libbase_la_LIBADD=$(LIBLTDL)
|
||||
libbase_la_LDFLAGS=-pthread
|
||||
|
||||
AM_CFLAGS=$(LTDLINCL)
|
||||
AM_CXXFLAGS=$(LTDLINCL)
|
||||
|
|
|
@ -4,7 +4,7 @@ using namespace icinga;
|
|||
|
||||
IcingaApplication::RefType ConfigRpcComponent::GetIcingaApplication(void)
|
||||
{
|
||||
return dynamic_pointer_cast<IcingaApplication>(GetApplication());
|
||||
return static_pointer_cast<IcingaApplication>(GetApplication());
|
||||
}
|
||||
|
||||
string ConfigRpcComponent::GetName(void)
|
||||
|
@ -16,9 +16,6 @@ void ConfigRpcComponent::Start(void)
|
|||
{
|
||||
IcingaApplication::RefType icingaApp = GetIcingaApplication();
|
||||
|
||||
if (icingaApp.get() == NULL)
|
||||
throw exception(/*"Component loaded by incompatible application."*/);
|
||||
|
||||
ConnectionManager::RefType connectionManager = icingaApp->GetConnectionManager();
|
||||
ConfigHive::RefType configHive = icingaApp->GetConfigHive();
|
||||
|
||||
|
|
Loading…
Reference in New Issue