Fix build error when MySQL is not installed.

This commit is contained in:
Gunnar Beutner 2013-09-26 09:04:27 +02:00
parent abbdebad82
commit d1016dc02e
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,6 @@ icinga2_LDADD = \
-dlopen ${top_builddir}/components/checker/libchecker.la \ -dlopen ${top_builddir}/components/checker/libchecker.la \
-dlopen ${top_builddir}/components/cluster/libcluster.la \ -dlopen ${top_builddir}/components/cluster/libcluster.la \
-dlopen ${top_builddir}/components/compat/libcompat.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/demo/libdemo.la \
-dlopen ${top_builddir}/components/livestatus/liblivestatus.la \ -dlopen ${top_builddir}/components/livestatus/liblivestatus.la \
-dlopen ${top_builddir}/components/notification/libnotification.la -dlopen ${top_builddir}/components/notification/libnotification.la
@ -38,3 +37,8 @@ if PYTHON_USE
icinga2_LDADD += \ icinga2_LDADD += \
-dlopen ${top_builddir}/lib/python/libpython.la -dlopen ${top_builddir}/lib/python/libpython.la
endif endif
if MYSQL_USE
icinga2_LDADD += \
-dlopen ${top_builddir}/components/db_ido_mysql/libdb_ido_mysql.la
endif