Commit c93a5989 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

fontconfig.recipe: Fix absolute symlinks for cross-windows too

Fixes random failures on the cross-windows CI due to a non-relocatable
prefix: gst-ci!350 (comment 632701)

Part-of: <!613>
parent e9eb4c0a
......@@ -42,7 +42,7 @@ class Recipe(recipe.Recipe):
def post_install(self):
# Create relative symlinks to prevent breakage during packaging
if self.config.target_platform != Platform.WINDOWS:
if self.config.platform != Platform.WINDOWS:
confddir = os.path.join(self.config.prefix, 'etc', 'fonts', 'conf.d')
linksrc = os.path.join('..', '..', '..', 'share', 'fontconfig', 'conf.avail')
for f in os.listdir(confddir):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment