Commit 0fce4cfa authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜 Committed by Nirbheek Chauhan
Browse files

cerbero: Fix packaging on macOS

Now that libnice is built with Meson, the gstreamer plugin built by
it uses a dylib suffix.
parent c7a15286
Pipeline #15736 canceled with stages
in 48 minutes and 22 seconds
......@@ -168,12 +168,13 @@ class FilesProvider(object):
def _dylib_plugins(self):
from cerbero.build.build import BuildType
# gstreamer plugins on macOS and iOS use the .dylib extension when built with Meson
if self.btype != BuildType.MESON:
return False
if self.platform not in (Platform.DARWIN, Platform.IOS):
return False
if not self.name.startswith('gst'):
# gstreamer plugins on macOS and iOS use the .dylib extension when
# built with Meson but modules that use GModule do not
if not self.name.startswith('gst') and self.name != 'libnice':
return False
return True
......
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