[Buildroot] [PATCH] python-pygame: fix _python_srcdir

Danomi Manchego danomimanchego123 at gmail.com
Thu Oct 3 02:09:59 UTC 2013


The previous expression for _python_srcdir forgot the dash
between "python" and the version, so the path was actually
non-existent.  Change the expression to "$(PYTHON_DIR)", which
is simpler, and matches python-crc16 and python-pyzmq.

Signed-off-by: Danomi Manchego <danomimanchego123 at gmail.com>

---

I don't actually know if _python_srcdir needs to be there, but
if it's there, then it shouldn't point to an invalid location.
---
 package/python-pygame/python-pygame.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/python-pygame/python-pygame.mk b/package/python-pygame/python-pygame.mk
index 739ba45..123b0eb 100644
--- a/package/python-pygame/python-pygame.mk
+++ b/package/python-pygame/python-pygame.mk
@@ -86,7 +86,7 @@ define PYTHON_PYGAME_BUILD_CMDS
 		LDSHARED="$(TARGET_CROSS)gcc -shared" \
 		CROSS_COMPILING=yes \
 		_python_sysroot=$(STAGING_DIR) \
-		_python_srcdir=$(BUILD_DIR)/python$(PYTHON_VERSION) \
+		_python_srcdir=$(PYTHON_DIR) \
 		_python_prefix=/usr \
 		_python_exec_prefix=/usr \
 		$(HOST_DIR)/usr/bin/python setup.py build)
-- 
1.7.9.5



More information about the buildroot mailing list