[gtk-mac-bundler: 2/12] libraries: support @loader_path




commit fd553690629fbcd8aae48505ca76684032251efd
Author: Lukas Oberhuber <lukaso gmail com>
Date:   Thu Jul 14 15:10:59 2022 +0100

    libraries: support @loader_path

 bundler/bundler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bundler/bundler.py b/bundler/bundler.py
index 41a09c4..c36d212 100644
--- a/bundler/bundler.py
+++ b/bundler/bundler.py
@@ -320,7 +320,7 @@ class Bundler(object):
             if not os.path.isabs(line):
                 for prefix in list(prefixes.values()):
                     if line.startswith('@'):
-                        line = re.sub(r'@[-a-z]+/', '', line)
+                        line = re.sub(r'@[-_a-z]+/', '', line)
                     path = os.path.join(prefix, "lib", line)
                     if os.path.exists(path):
                         return path


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