Changeset 1128 for trunk/SConstruct


Ignore:
Timestamp:
08/10/06 15:09:20 (18 years ago)
Author:
mar637
Message:

more fixes to 64bit install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r1127 r1128  
    5959if  platform.architecture()[0] == '64bit':
    6060    env.Append(CPPFLAGS='-fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__x86_64__ -DAIPS_64B'.split())
     61    # hack to install into /usr/lib64 if scons isn't installed there
     62    if moduledir.startswith("/usr/lib/"):
     63        moduledir.replace("lib","lib64")
    6164if env['mode'] == 'release':
    6265    env.Append(LINKFLAGS=['-Wl,-O1'])
     
    6972asapmod = InstallTree(env,
    7073                      dest_dir = os.path.join(moduledir, "asap"),
    71                       src_dir  = env["dist_dir"],
     74                      src_dir  = "dist/asap",
    7275                      includes = ['*.py', '*.so'],
    7376                      excludes = [])
Note: See TracChangeset for help on using the changeset viewer.