[Buildroot] [PATCH 2/5] gamin: only enable python support if enabled
Peter Korsgaard
jacmet at sunsite.dk
Thu May 14 17:25:24 UTC 2009
From: Sven Neumann <s.neumann at raumfeld.com>
Closes #295.
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
package/gamin/gamin.mk | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/package/gamin/gamin.mk b/package/gamin/gamin.mk
index f0a2a1f..180d89e 100644
--- a/package/gamin/gamin.mk
+++ b/package/gamin/gamin.mk
@@ -12,6 +12,10 @@ GAMIN_INSTALL_TARGET = YES
GAMIN_CONF_OPT = --program-prefix="" --disable-debug
+ifneq ($(BR2_PACKAGE_PYTHON),y)
+GAMIN_CONF_OPT += --without-python
+endif
+
GAMIN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
GAMIN_CONF_ENV = have_abstract_sockets=no
--
1.6.2
More information about the buildroot
mailing list