Commit 0fa59a67 authored by kevino@webkit.org's avatar kevino@webkit.org
Browse files

wx build fix. Make sure that the wxWebKit dynamic library is rebuilt whenever...

wx build fix. Make sure that the wxWebKit dynamic library is rebuilt whenever webcore or jscore libs change.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 77d0ffff
2009-08-13 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Make sure that the wxWebKit dynamic library is rebuilt whenever
webcore or jscore libs change.
* wscript:
2009-08-12 Kevin Ollivier <kevino@theolliviers.com>
wxPython build fix, the SWIG defines must also be available when compiling.
......
......@@ -54,7 +54,23 @@ def set_options(opt):
def configure(conf):
common_configure(conf)
def pre_build(bld):
"""
The wxWebKit library should be rebuilt if jscore or webcore changes,
so we make those static libs as dependencies.
"""
libjscore = os.path.join(output_dir, 'libjscore.a')
libwebcore = os.path.join(output_dir, 'libwebcore.a')
assert os.path.exists(libjscore)
assert os.path.exists(libwebcore)
bld.env.CXXDEPS_JSCORE = Utils.h_file(libjscore)
bld.env.CXXDEPS_WEBCORE = Utils.h_file(libwebcore)
def build(bld):
bld.add_pre_fun(pre_build)
obj = bld.new_task_gen(
features = 'cxx cshlib implib',
includes = ' '.join(include_paths + js_include_dirs),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment