From 28070b6661c8de766749d80f3439d1d1d3f77c63 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 27 Jul 2022 12:12:51 +0530 Subject: [PATCH] FB2 Input: Fix a regression in 6.0 that broke conversion of FB2 on macOS. Fixes #1982743 [failed to convert fb2](https://bugs.launchpad.net/calibre/+bug/1982743) --- bypy/macos/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bypy/macos/__main__.py b/bypy/macos/__main__.py index b18960e405..3627540407 100644 --- a/bypy/macos/__main__.py +++ b/bypy/macos/__main__.py @@ -73,7 +73,7 @@ def compile_launcher_lib(contents_dir, gcc, base, pyver, inc_dir): # crashes if the system libxml2 is loaded. Loading plugins like the Qt # ones or usbobserver causes it to be loaded. So pre-load our libxml2 # to avoid it. - cmd += ['-L', f'{PREFIX}/lib', '-l', 'xml2'] + \ + cmd += ['-L', f'{PREFIX}/lib', '-l', 'xml2', '-l', 'xslt',] + \ ['-install_name', '@executable_path/../Frameworks/' + os.path.basename(dest)] + \ [('-F%s/python' % PREFIX), '-framework', 'Python', '-framework', 'CoreFoundation', '-headerpad_max_install_names']