Check and link to the pangoft2 module with a mingw build if it exists
This is necessary when pango has been built without all modules included as bundle_env_mingw.cc uses a function from the pango module and results a linker error: bundle_env_mingw.cc:114: undefined reference to `pango_ft2_font_map_get_type' Minimum pango version is taken from the official build scripts.
This commit is contained in:
parent
781d88e4ed
commit
8520312f97
@ -349,6 +349,7 @@ def configure(conf):
|
||||
atleast_version='2.18')
|
||||
autowaf.check_pkg(conf, 'ogg', uselib_store='OGG', atleast_version='1.1.2')
|
||||
autowaf.check_pkg(conf, 'x11', uselib_store='X11', atleast_version='1.1', mandatory=False)
|
||||
autowaf.check_pkg(conf, 'pangoft2', uselib_store='PANGOFT2', atleast_version='1.36.8', mandatory=False)
|
||||
autowaf.check_pkg(conf, 'fontconfig', uselib_store='FONTCONFIG')
|
||||
|
||||
|
||||
@ -582,6 +583,7 @@ def build(bld):
|
||||
|
||||
if bld.env['build_target'] == 'mingw':
|
||||
obj.linkflags += ' -mwindows'
|
||||
obj.use += [ 'PANGOFT2' ]
|
||||
|
||||
if bld.is_defined('HAVE_SUIL'):
|
||||
obj.source += [ 'lv2_plugin_ui.cc' ]
|
||||
|
Loading…
Reference in New Issue
Block a user