Changeset 269


Ignore:
Timestamp:
07/10/11 14:44:37 (13 years ago)
Author:
tim
Message:

added an ldconfig call after library installation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r253 r269  
    1414           'lib/void_stack.c']
    1515
    16 env = Environment(CFLAGS=cflags,
     16env = Environment(ENV=os.environ,
     17                  CFLAGS=cflags,
    1718                  CPPPATH=['include', '/usr/local/include'],
    1819                  LIBPATH=['lib', '/usr/local/lib'],
    1920                  LIBS=['m', 'pthread', 'regfi', 'talloc'])
    20 
    2121
    2222# Libraries
     
    5454
    5555env.Install(prefix+'bin', [reglookup, reglookup_recover, 'bin/reglookup-timeline'])
    56 env.Install(prefix+'lib', [libregfi, libregfi_static])
     56libinstall = env.Install(prefix+'lib', [libregfi, libregfi_static])
    5757env.Install(prefix+'include/regfi', Glob('include/*.h'))
    5858env.Install(prefix+'man/man1', [man_reglookup, man_reglookup_recover,
    5959                                man_reglookup_timeline])
     60env.AddPostAction(libinstall, 'ldconfig')
    6061
    6162if sys.version_info[0] == 2:
Note: See TracChangeset for help on using the changeset viewer.