From 9d32509c615076618957cc47c82f6e9d8f972fe7 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 16 Jul 2021 21:00:24 +0100 Subject: [PATCH] fix(native-comp): *.eln files were not being found during shared lib embedding --- build-emacs-for-macos | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/build-emacs-for-macos b/build-emacs-for-macos index ad0f703..77bafdf 100755 --- a/build-emacs-for-macos +++ b/build-emacs-for-macos @@ -783,19 +783,7 @@ class LibEmbedder < AbstractEmbedder private def eln_files - @eln_files ||= Dir[ - File.join( - app, 'Contents', 'Resources', 'native-lisp', '**', '*.eln' - ), - File.join( - app, 'Contents', 'MacOS', 'lib', 'emacs', '**', - 'native-lisp', '**', '*.eln' - ), - File.join( - app, 'Contents', 'MacOS', 'libexec', 'emacs', '**', - 'eln-cache', '**', '*.eln' - ) - ] + @eln_files ||= Dir[File.join(app, 'Contents', '**', '*.eln')] end def copy_libs(exe, rel_path = nil)