]> git.eshelyaron.com Git - emacs.git/commit
Fix loading of libgccjit.dll while dumping in Windows.
authorNicolás Bértolo <nicolasbertolo@gmail.com>
Sat, 30 May 2020 00:08:37 +0000 (21:08 -0300)
committerAndrea Corallo <akrl@sdf.org>
Sun, 31 May 2020 08:51:05 +0000 (09:51 +0100)
commitb818a49f667a77b7627c678fb4a2ca014f43695e
tree80546a303062d206286671a55299c39b0f28a5c7
parentbb9c0188ea3881a555415de7e6fe7973911719e9
Fix loading of libgccjit.dll while dumping in Windows.

loadup.el calls `native-comp-available-p', that calls
load_gccjit_if_necessary() in Windows. That function tries to load
libgccjit using the mappings defined in `dynamic-library-alist'. That
mapping is filled by term/w32-win.el, but that file may be loaded too
late.

* src/emacs.c (syms_of_emacs): Add libgccjit to the
`dynamic-library-alist' used when starting to dump so
`native-comp-available-p' always works in Windows.
src/emacs.c