Only build the webkit module on Darwin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-12-29 08:25:39 +00:00
parent 537133ebf7
commit 1690888828

25
wscript
View File

@@ -122,9 +122,6 @@ def configure(conf):
_copyEnvGroup(conf.env, '_WX', '_WXWEBVIEW')
conf.env.LIB_WXWEBVIEW += cfg.makeLibName('webview')
_copyEnvGroup(conf.env, '_WX', '_WXWEBKIT')
conf.env.LIB_WXWEBKIT += cfg.makeLibName('webkit')
_copyEnvGroup(conf.env, '_WX', '_WXXML')
conf.env.LIB_WXXML += cfg.makeLibName('xml', isMSWBase=True)
@@ -191,9 +188,10 @@ def configure(conf):
args='--cxxflags --libs webview,core,net' + rpath,
uselib_store='WXWEBVIEW', mandatory=True)
conf.check_cfg(path=conf.options.wx_config, package='',
args='--cxxflags --libs core,net' + rpath,
uselib_store='WXWEBKIT', mandatory=True)
if isDarwin:
conf.check_cfg(path=conf.options.wx_config, package='',
args='--cxxflags --libs core,net' + rpath,
uselib_store='WXWEBKIT', mandatory=True)
conf.check_cfg(path=conf.options.wx_config, package='',
args='--cxxflags --libs xml,core,net' + rpath,
@@ -518,13 +516,14 @@ def build(bld):
)
makeExtCopyRule(bld, '_html2')
etg = loadETG('etg/_webkit.py')
bld(features = 'c cxx cxxshlib pyext',
target = makeTargetName(bld, '_webkit'),
source = getEtgSipCppFiles(etg) + rc,
uselib = 'WXWEBKIT WXPY',
)
makeExtCopyRule(bld, '_webkit')
if isDarwin:
etg = loadETG('etg/_webkit.py')
bld(features = 'c cxx cxxshlib pyext',
target = makeTargetName(bld, '_webkit'),
source = getEtgSipCppFiles(etg) + rc,
uselib = 'WXWEBKIT WXPY',
)
makeExtCopyRule(bld, '_webkit')
etg = loadETG('etg/_xml.py')
bld(features = 'c cxx cxxshlib pyext',