[wx] Build fix, do not build WebCore as a convenience library as this leads to
[WebKit.git] / WebKit / wx / bindings / python / wscript
index 41e5d41fbd9790bd611442de6c270f194b9d1850..cd078363e39f9ec11e8fdc427294af3af282caea 100644 (file)
@@ -30,6 +30,9 @@ import Logs
 import Options
 
 include_paths = [
+            os.path.join(wk_root, 'JavaScriptCore'),
+            os.path.join(wk_root, 'WebCore', 'bindings', 'cpp'),
+            os.path.join(wk_root, 'WebCore', 'DerivedSources'),
             os.path.join(wk_root, 'WebKit', 'wx'),
             os.path.join(wx_root, 'wxPython', 'include'),
             os.path.join(wx_root, '..', 'wxPython', 'include'),
@@ -50,15 +53,6 @@ def wxpy_swig_include():
             return fullpath
             
     return ''
-
-def set_options(opt):
-    common_set_options(opt)
-
-def configure(conf):
-    if Options.options.wxpython:
-        common_configure(conf)
-        conf.check_tool('swig', tooldir='.')
-        conf.check_swig_version('1.3.29')
     
 def build(bld):
     if Options.options.wxpython:
@@ -91,8 +85,9 @@ def build(bld):
             swig_flags = ' '.join(wx_swig_args),
             defines = defines,
             target = '_webview',
-            uselib = 'WX CURL ICU XSLT XML SQLITE3 WXWEBKIT ' + get_config(),
+            uselib = 'WX CURL ICU XSLT XML SQLITE3 ' + get_config(),
             
             libpath = [output_dir],
-            uselib_local = '',
-            install_path = output_dir)
+            uselib_local = 'wxwebkit',
+            install_path = output_dir
+            )