pysqlite compilation fails on 64-bits nomultilib systesms, so add a prereq check...
[openwrt/svn-archive/archive.git] / lang / pysqlite / Makefile
index ee74d7f..b589615 100644 (file)
@@ -49,3 +49,7 @@ endef
 
 $(eval $(call PyPackage,python-sqlite))
 $(eval $(call BuildPackage,python-sqlite))
+
+$(eval $(call RequireHeader,/usr/include/gnu/stubs-32.h, \
+       $(PKG_NAME) requires a 32-bits toolchain. \
+))