summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2023-10-25 19:45:25 +1100
committerNirbheek Chauhan <nirbheek@centricular.com>2023-10-26 18:09:34 +0530
commit259fd7e03d4c171f8a532e9a19195c229414e866 (patch)
treefc5a63db969707b09d3243f8c038077ac83b0774 /recipes
parent4dc9e84d16f201a05b4b1260cc024074890f25df (diff)
zbar/macos: workaround not finding -liconv
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1289>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/zbar.recipe3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/zbar.recipe b/recipes/zbar.recipe
index ce79d89d..d0f0adde 100644
--- a/recipes/zbar.recipe
+++ b/recipes/zbar.recipe
@@ -21,3 +21,6 @@ class Recipe(recipe.Recipe):
self.set_env('CPPFLAGS', '')
if self.config.target_platform in [Platform.IOS, Platform.DARWIN]:
self.autoreconf = True
+ # since MacOS 14.0 (sonoma), we can't seem to successfully find the iconv library so add it manually
+ if self.config.target_platform in [Platform.DARWIN]:
+ self.set_env('LDFLAGS', self.get_env('LDFLAGS') + ' -liconv')