]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
gamin: only enable python support if enabled
authorSven Neumann <s.neumann@raumfeld.com>
Wed, 13 May 2009 09:04:13 +0000 (11:04 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 13 May 2009 09:04:13 +0000 (11:04 +0200)
Closes #295.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gamin/gamin.mk

index f0a2a1f877b61265d22fa2a77fef690de8f3733e..180d89e926c9999a6a3dbd9516674fabc4a8dbe8 100644 (file)
@@ -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