wxWidgets/build/bakefiles/plugins.bkl
Vadim Zeitlin 2893f894ab Limit the use of "webkit2_ext" to autoconf only in bakefiles
This is used by WebKit2 backend under Unix with configure, but is not needed
under the other platforms and prevented bakefile_gen from generating all
output files due to the of undefined USE_WEBVIEW_WEBKIT2 variable.

We could define it for formats other than autoconf, but this doesn't seem to
be useful currently, so just avoid referencing it instead.

Closes #17860.
2017-05-15 23:40:08 +02:00

23 lines
802 B
XML

<?xml version="1.0" ?>
<makefile>
<!-- ================================================================ -->
<!-- Unix audio plugins -->
<!-- ================================================================ -->
<wx-base-plugin id="sound_sdl" cond="WITH_PLUGIN_SDL=='1'">
<sources>$(UNIX_SOUND_SRC_SDL)</sources>
<ldlibs>$(EXTRALIBS_SDL)</ldlibs>
</wx-base-plugin>
<if cond="FORMAT=='autoconf'">
<wx-base-plugin id="webkit2_ext" cond="USE_WEBVIEW_WEBKIT2=='1'">
<sources>$(WEBVIEW_WEBKIT2_EXTENSION_SRC)</sources>
<ldlibs>$(EXTRALIBS_WEBVIEW)</ldlibs>
<install-to>$(PLUGINS_INST_DIR)/web-extensions</install-to>
</wx-base-plugin>
</if>
</makefile>