harfbuzz: fix cross build

This commit is contained in:
Daniel Kolesa 2020-09-12 04:03:13 +02:00
parent a9caef21c6
commit c5ab1c2fcf
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
From 27850ef12cb3ed658d8263893c43f6052c315aa7 Mon Sep 17 00:00:00 2001
From: Daniel Kolesa <daniel@octaforge.org>
Date: Sat, 12 Sep 2020 03:58:00 +0200
Subject: [PATCH] remove introspection cross check
---
src/meson.build | 5 -----
1 file changed, 5 deletions(-)
diff --git src/meson.build src/meson.build
index 1865633..9a273b6 100644
--- src/meson.build
+++ src/meson.build
@@ -634,11 +634,6 @@ if have_gobject
gir = find_program('g-ir-scanner', required: get_option('introspection'))
build_gir = gir.found()
- build_gir = build_gir and not meson.is_cross_build()
- if not build_gir and get_option('introspection').enabled()
- error('Introspection support is requested but it isn\'t available in cross builds')
- endif
-
build_gir = build_gir and get_option('default_library') != 'static'
if not build_gir and get_option('introspection').enabled()
error('Introspection support is requested but the default library option should be shared or both')
--
2.28.0