mirror of https://github.com/Icinga/icinga2.git
Build fix.
This commit is contained in:
parent
399b2eca19
commit
fda4f1189b
|
@ -1,7 +1,7 @@
|
|||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
|
||||
noinst_LTLIBRARIES = \
|
||||
pkglib_LTLIBRARIES = \
|
||||
libbase.la
|
||||
|
||||
libbase_la_SOURCES = \
|
||||
|
@ -50,5 +50,4 @@ libbase_la_SOURCES = \
|
|||
|
||||
libbase_la_LIBADD=$(LIBLTDL)
|
||||
|
||||
libbase_la_CFLAGS=$(LTDLINCL) -DI2_BASE_BUILD
|
||||
libbase_la_CXXFLAGS=$(LTDLINCL) -DI2_BASE_BUILD
|
||||
libbase_la_CXXFLAGS=$(LTDLINCL) -DI2_BASE_BUILD -pthread
|
||||
|
|
|
@ -193,7 +193,7 @@ Component::Ptr Application::LoadComponent(const string& path, const ConfigObject
|
|||
lt_dlhandle hModule = 0;
|
||||
lt_dladvise advise;
|
||||
|
||||
if (!lt_dladvise_init(&advise) && !lt_dladvise_local(&advise)) {
|
||||
if (!lt_dladvise_init(&advise) && !lt_dladvise_global(&advise)) {
|
||||
hModule = lt_dlopenadvise(path.c_str(), advise);
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,9 @@ icinga_SOURCES = \
|
|||
virtualendpoint.cpp \
|
||||
virtualendpoint.h
|
||||
|
||||
icinga_CXXFLAGS = -I${top_srcdir}/base \
|
||||
icinga_CFLAGS = -DI2_ICINGA_BUILD
|
||||
|
||||
icinga_CXXFLAGS = -DI2_ICINGA_BUILD -I${top_srcdir}/base \
|
||||
-I${top_srcdir}/jsonrpc \
|
||||
-I${top_srcdir}/cJSON \
|
||||
-I${top_srcdir}
|
||||
|
|
Loading…
Reference in New Issue