[gtk-mac-bundler] Don't copy symlinks into the bundle.



commit 3f6481efbb422eb91616ec5cb518a15ebd394afd
Author: John Ralls <jralls ceridwen us>
Date:   Sun Aug 14 15:17:20 2016 -0700

    Don't copy symlinks into the bundle.
    
    The targets have all been resolved into the rpaths, so they're not needed.
    Besides, they're getting followed on copy, making the app much bigger
    than necessary.

 bundler/bundler.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bundler/bundler.py b/bundler/bundler.py
index 65b8cc0..6ccfe10 100644
--- a/bundler/bundler.py
+++ b/bundler/bundler.py
@@ -223,6 +223,8 @@ class Bundler:
 
     def copy_binaries(self, binaries):
         for path in binaries:
+            if os.path.islink(path.source):
+                continue
             dest = self.copy_path(path)
 
             self.binary_paths.append(dest)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]