void-packages/srcpkgs/harfbuzz/patches/cross-gir.patch

29 lines
991 B
Diff
Raw Normal View History

2020-09-12 04:03:13 +02:00
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