vcpkg/ports/gtk/link_fix_static.patch

28 lines
821 B
Diff

diff --git a/gsk/meson.build b/gsk/meson.build
index 748f4738a..6d6247343 100644
--- a/gsk/meson.build
+++ b/gsk/meson.build
@@ -165,6 +165,7 @@ gsk_deps = [
pango_dep,
cairo_dep,
cairo_csi_dep,
+ lzo_dep,
pixbuf_dep,
libgdk_dep,
]
diff --git a/meson.build b/meson.build
index 19c3fa942..cd57128b2 100644
--- a/meson.build
+++ b/meson.build
@@ -451,7 +451,9 @@ cairo_csi_dep = dependency('cairo-script-interpreter', required: false)
if not cairo_csi_dep.found()
cairo_csi_dep = cc.find_library('cairo-script-interpreter', required: get_option('build-tests'))
endif
-
+if cairo_csi_dep.found()
+ lzo_dep = dependency('lzo2')
+endif
cdata.set('HAVE_CAIRO_SCRIPT_INTERPRETER', cairo_csi_dep.found())
cdata.set('HAVE_HARFBUZZ', harfbuzz_dep.found())
cdata.set('HAVE_PANGOFT', pangoft_dep.found())