meson: more windows fixes

pull/2239/head
Mathieu Duponchelle 7 years ago committed by Ebrahim Byagowi
parent 7ee650b173
commit 99b26789d2
  1. 14
      src/meson.build
  2. 5
      util/meson.build

@ -184,12 +184,17 @@ libharfbuzz = library('harfbuzz', hb_sources,
include_directories: [incbase, incucdn], include_directories: [incbase, incucdn],
dependencies: deps, dependencies: deps,
cpp_args: cpp_args, cpp_args: cpp_args,
) vs_module_defs: 'harfbuzz.def',
soversion: '0',
name_prefix: 'lib')
libharfbuzz_subset = library('harfbuzz-subset', hb_subset_sources, libharfbuzz_subset = library('harfbuzz-subset', hb_subset_sources,
include_directories: incbase, include_directories: incbase,
link_with: [libharfbuzz], link_with: [libharfbuzz],
cpp_args: cpp_args) cpp_args: cpp_args,
vs_module_defs: 'harfbuzz-subset.def',
soversion: '0',
name_prefix: 'lib')
if conf.get('HAVE_GOBJECT', 0) == 1 if conf.get('HAVE_GOBJECT', 0) == 1
gnome = import('gnome') gnome = import('gnome')
@ -233,5 +238,8 @@ if conf.get('HAVE_GOBJECT', 0) == 1
include_directories: incbase, include_directories: incbase,
dependencies: deps, dependencies: deps,
link_with: [libharfbuzz], link_with: [libharfbuzz],
cpp_args: cpp_args) cpp_args: cpp_args,
vs_module_defs: 'harfbuzz-gobject.def',
soversion: '0',
name_prefix: 'lib')
endif endif

@ -22,12 +22,16 @@ hb_subset_cli_sources = [
'options.cc', 'options.cc',
] ]
if conf.get('HAVE_GLIB', 0) == 1
if conf.get('HAVE_FREETYPE', 0) == 1 and conf.get('HAVE_CAIRO_FT', 0) == 1
hb_view = executable('hb-view', hb_view_sources, hb_view = executable('hb-view', hb_view_sources,
cpp_args: cpp_args, cpp_args: cpp_args,
include_directories: [incbase, incsrc], include_directories: [incbase, incsrc],
dependencies: deps, dependencies: deps,
link_with: [libharfbuzz] link_with: [libharfbuzz]
) )
endif
hb_shape = executable('hb-shape', hb_shape_sources, hb_shape = executable('hb-shape', hb_shape_sources,
cpp_args: cpp_args, cpp_args: cpp_args,
@ -49,3 +53,4 @@ hb_ot_shape_closure = executable('hb-ot-shape-closure', hb_ot_shape_closure_sour
dependencies: deps, dependencies: deps,
link_with: [libharfbuzz] link_with: [libharfbuzz]
) )
endif
Loading…
Cancel
Save