diff --git a/SConstruct b/SConstruct index 17b1009e0f2121a07de9bc94da8d889e17d91e6f..f8e5f3ddfad7e95fdda3e014cb2ac1427c0fb630 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")