mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 13:06:38 +00:00
fix(native-comp): fix re-linking and signing issue with *.eln files
With the recent move of shared libraries and native lisp *.eln files to Contents/Frameworks, the re-linking paths became longer, causing code signing to fail with headerpad errors. This change ensures there's enough space within binary files for longer shared library relink paths, and code signing payloads.
This commit is contained in:
@@ -294,6 +294,8 @@ class Build
|
||||
"-L#{gcc_info.libgccjit_lib_dir}",
|
||||
"-I#{File.join(gcc_info.root_dir, 'include')}",
|
||||
"-I#{File.join(gcc_info.libgccjit_root_dir, 'include')}",
|
||||
# Ensure library re-linking and code signing will work after building.
|
||||
'-Wl,-headerpad_max_install_names',
|
||||
ENV['LDFLAGS']
|
||||
].compact.join(' ')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user