diff --git a/SConstruct b/SConstruct index 17b1009..f8e5f3d 100644 --- a/SConstruct +++ b/SConstruct @@ -1,6 +1,7 @@ # -*- python -*- import os import os.path +import platform import sys @@ -34,6 +35,8 @@ if 'DESTDIR' in env: env['libpath'] = calcInstallPath("$prefix", "lib") +if env['PLATFORM'] != 'darwin' and platform.machine()[-2:] == '64': + env['libpath'] += '64' env['incpath'] = calcInstallPath("$prefix", "include", "hammer") env['parsersincpath'] = calcInstallPath("$prefix", "include", "hammer", "parsers") env['backendsincpath'] = calcInstallPath("$prefix", "include", "hammer", "backends")