summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscuri <scuri>2010-04-27 22:11:29 +0000
committerscuri <scuri>2010-04-27 22:11:29 +0000
commitac8b5e88ac080ef280809278e08438e24ae1d33a (patch)
tree6c710407e4a4f79ef1d352db6a3b9d373ba9ddeb
parentdfde7e17c5018ec5ff73ad8c4165441b315c16aa (diff)
*** empty log message ***
-rw-r--r--src/tecmake.mak11
1 files changed, 8 insertions, 3 deletions
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