summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-01-19 02:27:54 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2019-01-21 10:34:24 +0000
commit0fce4cfaccc590f50e3df289501c592b15d00459 (patch)
tree1ab1363a17df36d3c3da47b4f4f8476c68f6f125
parentc7a15286ff634e29f7949a9d5c4418015826bcc5 (diff)
cerbero: Fix packaging on macOS1.15.1
Now that libnice is built with Meson, the gstreamer plugin built by it uses a dylib suffix.
-rw-r--r--cerbero/build/filesprovider.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cerbero/build/filesprovider.py b/cerbero/build/filesprovider.py
index 1e4fe815..01eedc50 100644
--- a/cerbero/build/filesprovider.py
+++ b/cerbero/build/filesprovider.py
@@ -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