Load extensions from the build folder if ./waf --run is used

This commit is contained in:
Christian Dywan 2009-01-16 20:27:56 +01:00
parent 75c54edabd
commit 07bcc0acfa

View file

@ -387,6 +387,7 @@ def shutdown ():
folder = os.path.dirname (Build.bld.env['waf_config_files'][0])
try:
command = folder + os.sep + APPNAME + os.sep + APPNAME
Utils.exec_command (command)
Utils.exec_command ('MIDORI_EXTENSION_PATH=' + folder + \
os.sep + 'extensions' + ' ' + command)
except:
Utils.pprint ('RED', "Failed to run application.")