]> granicus.if.org Git - icinga2/commitdiff
Fix build error when MySQL is not installed.
authorGunnar Beutner <gunnar@beutner.name>
Thu, 26 Sep 2013 07:04:27 +0000 (09:04 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Thu, 26 Sep 2013 07:04:50 +0000 (09:04 +0200)
icinga-app/Makefile.am

index 20f0bd17111a678c1373571c65216d4698a6371c..a4996f8747e2d7f1ecc13ecf7f3cdef754dec8bc 100644 (file)
@@ -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