Load extensions from the build folder if ./waf --run is used
This commit is contained in:
parent
75c54edabd
commit
07bcc0acfa
1 changed files with 2 additions and 1 deletions
3
wscript
3
wscript
|
@ -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.")
|
||||
|
|
Loading…
Reference in a new issue