Append '64' to libpath on non-Darwin platforms.

This commit is contained in:
Meredith L. Patterson 2014-03-17 03:25:28 +01:00
parent 42d1dd4fe9
commit 64213e733b

View file

@ -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")