diff options
author | Robert Adam <dev@robert-adam.de> | 2022-05-08 21:25:43 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2022-05-08 21:25:43 +0300 |
commit | 4e2e53d0f92a0f92d724ebbd15689e682fa04c83 (patch) | |
tree | 1b43366fa8dc7ad36530863532d581328dde14fe /macx | |
parent | c4abb61ac45d45cc80bb2872d34d9746f33da64d (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-x | macx/scripts/osxdist.py | 2 |
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): |