IRIX: use python 2.5 by default
authorStefan Gartner <stefang@aon.at>
Mon, 25 May 2009 23:35:29 +0000 (23:35 +0000)
committerStefan Gartner <stefang@aon.at>
Mon, 25 May 2009 23:35:29 +0000 (23:35 +0000)
source/nan_definitions.mk

index f7bcd47930c3c444aa8ccbf8bbccad9305a1ba97..953f8593f914d14d2906b1b35988959300d03961 100644 (file)
@@ -292,8 +292,12 @@ endif
     export HOST = $(shell /usr/bsd/hostname -s)
     #export NAN_NO_KETSJI=true
     export NAN_JUST_BLENDERDYNAMIC=true
-    export NAN_PYTHON ?= $(LCGDIR)/python
-    export NAN_PYTHON_VERSION ?= 2.3
+    export NAN_PYTHON_VERSION ?= 2.5
+    ifeq ($(IRIX_USE_GCC), true)
+        export NAN_PYTHON ?= $(LCGDIR)/python_gcc
+    else
+        export NAN_PYTHON ?= $(LCGDIR)/python
+    endif
     export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
     export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a -lpthread
     export NAN_OPENAL ?= $(LCGDIR)/openal