summaryrefslogtreecommitdiff
path: root/src/tecmake.mak
diff options
context:
space:
mode:
authorscuri <scuri>2010-04-27 22:11:30 +0000
committerscuri <scuri>2010-04-27 22:11:30 +0000
commit25f33d5604d6515b6631b4717d7f75339462b0ee (patch)
treedcdfa6b873502898d91f705e941c03b0b401ef02 /src/tecmake.mak
parent7baa004d4455a02826aee2aa460ea99030b294da (diff)
*** empty log message ***
Diffstat (limited to 'src/tecmake.mak')
-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