From 7eca6398633421f52263fabc0492b65300f1e4b3 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 5 May 2006 06:29:31 +0000 Subject: [PATCH] use correct python version to build debian package --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 6ad52779a..c07daba95 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,6 @@ # Set the C flags to include the GTK+ and Python libraries -PYTHONVER = `python -c 'import sys; print sys.version[:3]'` +PYTHON = python +PYTHONVER = `$(PYTHON) -c 'import sys; print sys.version[:3]'` CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I. LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` -lpython$(PYTHONVER)