diff mupdf-source/scripts/wrap/__main__.py @ 40:aa33339d6b8a upstream

ADD: MuPDF v1.26.10: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.5.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 11 Oct 2025 11:31:38 +0200
parents b50eed0cc0ef
children 71bcc18e306f
line wrap: on
line diff
--- a/mupdf-source/scripts/wrap/__main__.py	Sat Oct 11 11:19:58 2025 +0200
+++ b/mupdf-source/scripts/wrap/__main__.py	Sat Oct 11 11:31:38 2025 +0200
@@ -1329,11 +1329,7 @@
 
 
 def link_l_flags(sos):
-    ld_origin = None
-    if state.state_.pyodide:
-        # Don't add '-Wl,-rpath*' etc if building for Pyodide.
-        ld_origin = False
-    ret = jlib.link_l_flags( sos, ld_origin)
+    ret = jlib.link_l_flags( sos)
     r = os.environ.get('LDFLAGS')
     if r:
         ret += f' {r}'