[icinga-checkins] icinga.org: icinga2/master: Build fix: --disable-python didn't work.

git at icinga.org git at icinga.org
Sat Feb 16 14:26:58 CET 2013


Module: icinga2
Branch: master
Commit: 76dcb2dc3362338b6110ef6663f0e0e6944fdd1d
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=76dcb2dc3362338b6110ef6663f0e0e6944fdd1d

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Sat Feb 16 14:26:45 2013 +0100

Build fix: --disable-python didn't work.

---

 icinga-app/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/icinga-app/Makefile.am b/icinga-app/Makefile.am
index 25a87a6..3963c5a 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





More information about the icinga-checkins mailing list