From 76dcb2dc3362338b6110ef6663f0e0e6944fdd1d Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 16 Feb 2013 14:26:45 +0100 Subject: [PATCH] Build fix: --disable-python didn't work. --- icinga-app/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/icinga-app/Makefile.am b/icinga-app/Makefile.am index 25a87a6d7..3963c5a3a 100644 --- a/icinga-app/Makefile.am +++ b/icinga-app/Makefile.am @@ -29,7 +29,6 @@ icinga2_LDADD = \ ${top_builddir}/lib/base/libbase.la \ ${top_builddir}/lib/config/libconfig.la \ -dlopen ${top_builddir}/lib/icinga/libicinga.la \ - -dlopen ${top_builddir}/lib/python/libpython.la \ -dlopen ${top_builddir}/components/checker/checker.la \ -dlopen ${top_builddir}/components/replication/replication.la \ -dlopen ${top_builddir}/components/compat/compat.la \ @@ -37,3 +36,8 @@ icinga2_LDADD = \ -dlopen ${top_builddir}/components/delegation/delegation.la \ -dlopen ${top_builddir}/components/demo/demo.la \ -dlopen ${top_builddir}/components/notification/notification.la + +if PYTHON_USE +icinga2_LDADD += \ + -dlopen ${top_builddir}/lib/python/libpython.la +endif -- 2.40.0