summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL. E. Segovia <amy@centricular.com>2024-03-21 16:02:53 -0300
committerL. E. Segovia <amy@centricular.com>2024-03-26 23:14:10 +0000
commitc34f33f91f90ff10fb8761b88b701a3afb7358d9 (patch)
treef23756f7c02ece8bcda4a75b5ea0064b8e639c5a
parentb8d006cab5ab3da410b112126558492752f318d5 (diff)
flac: Fix missing Libtool output
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1420>
-rw-r--r--recipes/flac.recipe7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes/flac.recipe b/recipes/flac.recipe
index 613edca2..88562527 100644
--- a/recipes/flac.recipe
+++ b/recipes/flac.recipe
@@ -1,5 +1,5 @@
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
-from cerbero.utils import shell
+from cerbero.tools.libtool import LibtoolLibrary
class Recipe(recipe.Recipe):
@@ -35,3 +35,8 @@ class Recipe(recipe.Recipe):
if self.config.target_platform == Platform.WINDOWS:
# Newer MinGW requires this define for sscanf in stdio.h
self.append_env('CFLAGS', '-D__USE_MINGW_ANSI_STDIO=1')
+
+ def post_install(self):
+ # Meson does not generate la files
+ LibtoolLibrary('libFLAC', None, None, None, self.config.libdir, self.config.target_platform).save()
+ super().post_install()