mirror of https://github.com/Icinga/icinga2.git
Fix build error when MySQL is not installed.
This commit is contained in:
parent
abbdebad82
commit
d1016dc02e
|
@ -29,7 +29,6 @@ icinga2_LDADD = \
|
|||
-dlopen ${top_builddir}/components/checker/libchecker.la \
|
||||
-dlopen ${top_builddir}/components/cluster/libcluster.la \
|
||||
-dlopen ${top_builddir}/components/compat/libcompat.la \
|
||||
-dlopen ${top_builddir}/components/db_ido_mysql/libdb_ido_mysql.la \
|
||||
-dlopen ${top_builddir}/components/demo/libdemo.la \
|
||||
-dlopen ${top_builddir}/components/livestatus/liblivestatus.la \
|
||||
-dlopen ${top_builddir}/components/notification/libnotification.la
|
||||
|
@ -38,3 +37,8 @@ if PYTHON_USE
|
|||
icinga2_LDADD += \
|
||||
-dlopen ${top_builddir}/lib/python/libpython.la
|
||||
endif
|
||||
|
||||
if MYSQL_USE
|
||||
icinga2_LDADD += \
|
||||
-dlopen ${top_builddir}/components/db_ido_mysql/libdb_ido_mysql.la
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue