From 64213e733b65cf9b112241c61471311c6f9a81a2 Mon Sep 17 00:00:00 2001 From: "Meredith L. Patterson" <mlp@thesmartpolitenerd.com> Date: Mon, 17 Mar 2014 03:25:28 +0100 Subject: [PATCH] Append '64' to libpath on non-Darwin platforms. --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SConstruct b/SConstruct index 17b1009e..f8e5f3dd 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") -- GitLab