summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorOlivier Crête <olivier.crete@collabora.com>2016-07-06 11:40:02 -0400
committerSebastian Dröge <sebastian@centricular.com>2016-10-20 12:45:24 +0300
commitd650b37b547f34a69e8c9cf0bd04f34a8a87627c (patch)
treef7a47f5bbdef2592dc7d80a87ff67ee65a267c7e /recipes
parent180df4acfbafd65b6ab3eaa77a37d5bf0a5db2a1 (diff)
glib-networking-static: No need to bother with gio cache
https://bugzilla.gnome.org/show_bug.cgi?id=768493
Diffstat (limited to 'recipes')
-rw-r--r--recipes/glib-networking-static.recipe11
1 files changed, 1 insertions, 10 deletions
diff --git a/recipes/glib-networking-static.recipe b/recipes/glib-networking-static.recipe
index ffbdc317..ced3fd3d 100644
--- a/recipes/glib-networking-static.recipe
+++ b/recipes/glib-networking-static.recipe
@@ -23,16 +23,7 @@ class Recipe(recipe.Recipe):
def prepare(self):
self.tmp_destdir = os.path.join(self.build_dir, 'static-build')
- querymodule_path = None
- if self.config.target_platform in [Platform.DARWIN, Platform.IOS]:
- # For the universal build we need to use the right gio-querymodules
- arch = self.config.target_arch
- querymodule_path = os.path.join(self.config.prefix, arch, 'bin', 'gio-querymodules')
- else:
- querymodule_path = os.path.join(self.config.prefix, 'bin', 'gio-querymodules')
-
- if not self.config.prefix_is_executable():
- querymodule_path = which('true')
+ querymodule_path = which('true')
if self.config.target_platform in [Platform.ANDROID, Platform.IOS]:
self.append_env['CFLAGS'] = ' -DGST_CA_CERTIFICATES_FROM_ENV'