build idle with corre3ct python version
This commit is contained in:
parent
7eca639863
commit
032786bf47
|
@ -1,5 +1,5 @@
|
||||||
# Set the C flags to include the GTK+ and Python libraries
|
# Set the C flags to include the GTK+ and Python libraries
|
||||||
PYTHON = python
|
PYTHON ?= python
|
||||||
PYTHONVER = `$(PYTHON) -c 'import sys; print sys.version[:3]'`
|
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.
|
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)
|
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` -lpython$(PYTHONVER)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# Set the C flags to include the GTK+ and Python libraries
|
# 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]'`
|
||||||
|
|
||||||
HAVE_XSCRNSAVER = $(shell pkg-config --exists xscrnsaver && echo 'YES')
|
HAVE_XSCRNSAVER = $(shell pkg-config --exists xscrnsaver && echo 'YES')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue