Append '64' to libpath on non-Darwin platforms.
This commit is contained in:
parent
42d1dd4fe9
commit
64213e733b
1 changed files with 3 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue