Browse Source

gamin: only enable python support if enabled

Closes #295.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Sven Neumann 16 năm trước cách đây
mục cha
commit
419257b191
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      package/gamin/gamin.mk

+ 4 - 0
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