comparison mupdf-source/scripts/jlib.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
comparison
equal deleted inserted replaced
39:a6bc019ac0b2 40:aa33339d6b8a
2299 if darwin: 2299 if darwin:
2300 # As well as this link flag, it is also necessary to use 2300 # As well as this link flag, it is also necessary to use
2301 # `install_name_tool -change` to rename internal names to 2301 # `install_name_tool -change` to rename internal names to
2302 # `@rpath/<leafname>`. 2302 # `@rpath/<leafname>`.
2303 ret += ' -Wl,-rpath,@loader_path/.' 2303 ret += ' -Wl,-rpath,@loader_path/.'
2304 elif os.environ.get( 'PYODIDE') == '1':
2305 # 2025-09-05: Pyodide now supports rpath.
2306 ret += " -Wl,-rpath,'$ORIGIN'"
2304 else: 2307 else:
2305 ret += " -Wl,-rpath,'$ORIGIN',-z,origin" 2308 ret += " -Wl,-rpath,'$ORIGIN',-z,origin"
2306 #log('{sos=} {ld_origin=} {ret=}') 2309 #log('{sos=} {ld_origin=} {ret=}')
2307 return ret.strip() 2310 return ret.strip()