Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/macx
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2022-05-08 21:25:43 +0300
committerRobert Adam <dev@robert-adam.de>2022-05-08 21:25:43 +0300
commit4e2e53d0f92a0f92d724ebbd15689e682fa04c83 (patch)
tree1b43366fa8dc7ad36530863532d581328dde14fe /macx
parentc4abb61ac45d45cc80bb2872d34d9746f33da64d (diff)
BUILD(macos): Fix plugins not getting bundled
If the osxdist script was not executed within the build directory, it would not bundle the built plugins (most notably the Link plugin) as it was using a relative path and was ignoring the binary dir command-line option. This is remedied by this commit. Fixes #5571
Diffstat (limited to 'macx')
-rwxr-xr-xmacx/scripts/osxdist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/macx/scripts/osxdist.py b/macx/scripts/osxdist.py
index 634796055..56e8b878e 100755
--- a/macx/scripts/osxdist.py
+++ b/macx/scripts/osxdist.py
@@ -151,7 +151,7 @@ class AppBundle(object):
dst = os.path.join(self.bundle, 'Contents', 'Plugins')
if not os.path.exists(dst):
os.makedirs(dst)
- for plugin in glob.glob('plugins/*.dylib'):
+ for plugin in glob.glob(os.path.join(options.binary_dir, 'plugins') + '/*.dylib'):
shutil.copy(plugin, dst)
def update_plist(self):