From: Gunnar Beutner Date: Thu, 26 Sep 2013 07:04:27 +0000 (+0200) Subject: Fix build error when MySQL is not installed. X-Git-Tag: v0.0.3~397 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1016dc02e383a17dc5da1a4cf7324f90bdd819c;p=icinga2 Fix build error when MySQL is not installed. --- diff --git a/icinga-app/Makefile.am b/icinga-app/Makefile.am index 20f0bd171..a4996f874 100644 --- a/icinga-app/Makefile.am +++ b/icinga-app/Makefile.am @@ -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