Skip to content

Commit c7b2c41

Browse files
committed
macos: Fix loaders.cache generation for x86 Homebrew paths
1 parent 565f836 commit c7b2c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macos/deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ def copy_and_install_name_tool(src, dest):
113113
module_dir = f"{RESOURCEDIR}/lib/gdk-pixbuf-2.0/{pixbuf_ver}"
114114
with open(f"{module_dir}/loaders.cache", 'w') as cachefile:
115115
cache = subprocess.check_output(['gdk-pixbuf-query-loaders']).decode()
116-
cachefile.write(re.sub(f'{PREFIX}/[a-zA-Z]+/gdk-pixbuf-2.0/', '@executable_path/../Resources/lib/gdk-pixbuf-2.0/', cache))
116+
cachefile.write(re.sub(f'{PREFIX}/.+/gdk-pixbuf-2.0/', '@executable_path/../Resources/lib/gdk-pixbuf-2.0/', cache))

0 commit comments

Comments
 (0)