From ac8b5e88ac080ef280809278e08438e24ae1d33a Mon Sep 17 00:00:00 2001
From: scuri <scuri>
Date: Tue, 27 Apr 2010 22:11:29 +0000
Subject: *** empty log message ***

---
 src/tecmake.mak | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

(limited to 'src')

diff --git a/src/tecmake.mak b/src/tecmake.mak
index 56bd748..577f113 100644
--- a/src/tecmake.mak
+++ b/src/tecmake.mak
@@ -104,11 +104,14 @@ ifndef TEC_UNAME
 
   # Darwin and Intel
   ifeq ($(TEC_SYSNAME), Darwin)
-  ifeq ($(TEC_SYSARCH), x86)
-      TEC_UNAME:=$(TEC_UNAME)x86
+    ifeq ($(TEC_SYSVERSION), 10)
+      TEC_SYSARCH:=x64
+    else
+      ifeq ($(TEC_SYSARCH), x86)
+        TEC_UNAME:=$(TEC_UNAME)x86
+      endif
     endif
   endif
-
 endif
 
 
@@ -860,6 +863,8 @@ ifdef USE_GTK
   
   ifeq ($(TEC_SYSARCH), x64)
     STDINCS += $(GTK_BASE)/lib64/glib-2.0/include $(GTK_BASE)/lib64/gtk-2.0/include
+    # Add also these to avoid errors in systems that lib64 does not exists
+    STDINCS += $(GTK_BASE)/lib/glib-2.0/include $(GTK_BASE)/lib/gtk-2.0/include
   else
   ifeq ($(TEC_SYSARCH), ia64)
     STDINCS += $(GTK_BASE)/lib64/glib-2.0/include $(GTK_BASE)/lib64/gtk-2.0/include
-- 
cgit v1.2.3