summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2023-01-24 10:03:53 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2023-01-24 10:04:22 +0530
commite78839b0aab6bbc0e389426c900e84486bd764a0 (patch)
tree2440b189468221b109c69411722254cc2d87fc1d /recipes
parent0714fd62b846d4442b62695eceef176492689f65 (diff)
glib.recipe: Fix extract on MSYS2 on Windows
The tarball contains symlinks which bsdtar (from MSYS2) chokes on. Use the tarfile python module for it. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1082>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/glib.recipe3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/glib.recipe b/recipes/glib.recipe
index 87dcf4d1..04b2cf13 100644
--- a/recipes/glib.recipe
+++ b/recipes/glib.recipe
@@ -108,6 +108,9 @@ class Recipe(recipe.Recipe):
return flags
def prepare(self):
+ if self.config.platform == Platform.WINDOWS:
+ self.force_tarfile = True
+
# Glib doesn't support static libraries on Windows yet
if self.config.target_platform == Platform.WINDOWS:
self.library_type = LibraryType.SHARED