-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 14 Mar 2010 17:22:19 +0100
Artur Wronowski <art...@gmail.com> wrote:

> 2010/3/14 AlexanderS <alexan...@sulfrian.net>:
> 
> > Could you please check if
> > $(STAGING_DIR_HOST)/usr/lib/python2.6/site-packages/setuptools/
> > exists or not?
> 
> Yes, that folder exists.

Please try the attached patch. Currently hostpython is not used for
building python packages. But I do not know if this patch is enough fix
your problem.

Alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkudMygACgkQ1SSUxvEq73xNdgCglSEfc3hVZvLkJ3c2g6HOIvba
/68AmQFFnnmnb8CsJHognjEsCXtxZ367
=20bO
-----END PGP SIGNATURE-----
Index: feeds/packages/lang/python/files/python-package.mk
===================================================================
--- feeds/packages/lang/python/files/python-package.mk	(revision 20168)
+++ feeds/packages/lang/python/files/python-package.mk	(working copy)
@@ -55,7 +55,7 @@
 		CPPFLAGS="$(TARGET_CPPFLAGS)" \
 		LDFLAGS="$(TARGET_LDFLAGS)" \
 		$(3) \
-		$(PYTHON) ./setup.py $(2) && \
+		$(STAGING_DIR)/usr/bin/hostpython ./setup.py $(2) && \
 		find $(PKG_INSTALL_DIR) -name "*\.pyc" -o -name "*\.pyo" | xargs rm -f \
 	);
 endef
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to