Changeset 6429

Show
Ignore:
Timestamp:
06/05/06 12:45:57 (2 years ago)
Author:
asterix
Message:

Makefiles now use correct python version

Location:
branches/gajim_0.10/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.10/src/common/Makefile

    r5607 r6429  
    11# Set the C flags to include the GTK+ and Python libraries 
    2 PYTHONVER = `python -c 'import sys; print sys.version[:3]'` 
     2PYTHON ?= python 
     3PYTHONVER = `$(PYTHON) -c 'import sys; print sys.version[:3]'` 
    34 
    45HAVE_XSCRNSAVER = $(shell pkg-config --exists xscrnsaver && echo 'YES') 
  • branches/gajim_0.10/src/Makefile

    r5607 r6429  
    11# Set the C flags to include the GTK+ and Python libraries 
    2 PYTHONVER = `python -c 'import sys; print sys.version[:3]'` 
     2PYTHON ?= python 
     3PYTHONVER = `$(PYTHON) -c 'import sys; print sys.version[:3]'` 
    34CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I. 
    45LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` -lpython$(PYTHONVER)