gamin: fix build with !BR2_LARGEFILE and python enabled

Python binding support is broken for cross compilation, disable for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard
2009-11-23 11:42:47 +01:00
parent 57ea7207bc
commit a1deb18ba6
2 changed files with 8 additions and 7 deletions

View File

@@ -12,9 +12,8 @@ GAMIN_INSTALL_TARGET = YES
GAMIN_CONF_OPT = --program-prefix="" --disable-debug
ifneq ($(BR2_PACKAGE_PYTHON),y)
# python support broken
GAMIN_CONF_OPT += --without-python
endif
GAMIN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
@@ -22,6 +21,8 @@ GAMIN_CONF_ENV = have_abstract_sockets=no
ifneq ($(BR2_LARGEFILE),y)
GAMIN_CONF_ENV += CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
# the above doesn't work with shared config.cache
GAMIN_USE_CONFIG_CACHE = NO
endif
GAMIN_DEPENDENCIES = libglib2