Changeset 2358

Show
Ignore:
Timestamp:
2006-07-04 00:35:19 (3 years ago)
Author:
shans
Message:

Some minor changes to get scons build of liboggz working with newest scons

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • liboggz/branches/scons/SConstruct

    r744 r2358  
    2929progenv.Append(LIBS = ['oggz', 'ogg']) 
    3030progenv.Append(LIBPATH = '../liboggz') 
     31progenv.Dictionary('ENV')['LD_LIBRARY_PATH'] = './src/liboggz/' 
    3132enable_test (progenv) 
    3233Export('progenv') 
  • liboggz/branches/scons/scons/SConsTest

    r744 r2358  
    1111                suffix = '.test') 
    1212 
    13 def check_build_one (source): 
    14         ret = os.system (source.abspath) 
     13def check_build_one (source, env): 
     14        ret = env.Execute (source.abspath) 
    1515        if ret == 0: 
    1616                print "PASS: %s" % source 
     
    3030        t = env.Dictionary('TESTTARGETS') 
    3131        for s in t: 
    32                 ret = check_build_one (s
     32                ret = check_build_one (s, env
    3333                if ret == 0: 
    3434                        nr_success += 1